Computer Science, asked by mamtasrivastavashta1, 7 months ago

write a program to find the sum of 12.5 and 30.5 . Also subtract 20 from 50 . Print the result...


plz ansr this

this qstn is of computer for class 9 plz ansr this and I don't want irrelevant ansrs plz ansr it ​

Answers

Answered by 217him217
5

Explanation:

#include<stdio.h>

void main()

{

float a, b;

int c,d;

a=12.5;

b=30.5;

c = 50;

d = 20;

printf("sum : %f" , (a+b));

printf("sub : %d" , (c-d));

}

Similar questions