1.

C# program to add, subtract, multiply and divide two numbers using overloading for integers and floats.

Answer»

output :ENTER the value a and B:5,10addition :5+10=15subtraction :5-10=5multiple :5*10=50division :5/10=2Explanation:#includemain(){ INT a=5,b=10; PRINTF("the sum of a and b is",(a+b)); printf("the difference of a and b is",(a-b)); printf("the product of a and b is",(a*b)); printf("the division of a and b is",(float) (a/b));}



Discussion

No Comment Found