December 2022 1 13 Report
Co jest nie tak z moim programem ? Czy ktoś mógłby mnie pomóc ? Dziękuję. Bardzo potrzebuje.


#include


int main() {
int a, b;
printf("Input 1st number");
scanf("%d", &a);
printf("\nInput 2nd no: ");
scanf("%d", &b);
int sum = a + b;
printf ("The sum of %d and %d is %d", a, b, sum);
return 0;
}

/

float main() {
float a, b;
printf("Input 1st number");
scanf("%d", &a);
printf("\nInput 2nd no: ");
scanf("%d", &b);
float sum = a + b;
printf ("The sum of %d and %d is %d", a, b, sum);

return 0;
}

Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.