PPS LAB

Progarm to find sum/ difference /multiplication/ quotient/ remainder of two numbers in C

Program #include <stdio.h> int main() { int a, b, sum, diff, mul, quo, rem; printf(“**********************************************”); printf(“\n**********************************************”); printf(“\n** WAP to do basic calculations **”); printf(“\n** Created by Sheetal Garg **”); printf(“\n** Assistant Professor **”); printf(“\n** Phone No:9467863365 **”); printf(“\n**********************************************”); printf(“\n**********************************************”); printf(“\nEnter two numbers a and b”); scanf(“%d%d”,&a,&b); sum=a+b; diff=a-b; mul=a*b; quo=a/b; rem=a%b; printf(“\nthe value of sum …

Progarm to find sum/ difference /multiplication/ quotient/ remainder of two numbers in C Read More »

error: You can only copy the programs code and output from this website. You are not allowed to copy anything else.