#include <stdio.h> int main(){ int a,b,c; a=10; b=2; c=100; printf("The sum of %d and %d divided by %d equals %d\n",a,b,c,(a+b)%10); }
#include <stdio.h> int main() { double a,b,c; a=10.0; b=2.0; c=100.0; printf("The sum of %g and %g divided by %g equals %g\n",a,b,c,(a+b)/c); return 0; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)