All mathematical operations in c++ programming language | c++ programming tutorials | c++ coding

preview_player
Показать описание
All mathematical operations in c++ programming language | c++ programming tutorials | c++ coding

c++ coding,
#programming
#coding
#shorts
Рекомендации по теме
Комментарии
Автор

a=5,
b=2
cout (a + b ) sum/ end/ end;
Cout (a - b ) sub/end/end;
Cout ( a * b ) mul/end/end;
Cout (a / b ) div /end/ end;
Return = 0
5
3
10
2.5

JoyDas-jdyo
Автор

Bhai aapne itne subscribe kaise kiye aapke kisibhi video me itne views nahi he firbhi ??

coderworld
Автор

I have probably like this in C:
#include <stdio.h>
int main()
{
int a, b, sum, sub, mul;
float imp;
printf("Enter two numbers: ");
scanf("%d%d", &a, &b);
sum = a + b;
sub = a - b;
mul = a * b;
imp = a / b;
printf("a + b = %d\r\n", sum);
printf("a - b = %d\r\n", sub);
printf("a * b = %d\r\n", mul);
printf("a / b = %.1f", imp);

return 0;
}

TheTrueVoid
join shbcf.ru