+ 2

I need someone to help me code.

C program to find maximum and minimum of 3, 4 and 8

2nd Dec 2020, 3:22 AM
Preethi
Preethi - avatar
5 Antworten
+ 10
No homeworks please
2nd Dec 2020, 3:46 AM
Aditya
Aditya - avatar
2nd Dec 2020, 5:25 AM
Ashwini Adsule
Ashwini Adsule - avatar
2nd Dec 2020, 5:35 AM
Ashwini Adsule
Ashwini Adsule - avatar
+ 4
You should give the OP a chance to make a first attempt.
2nd Dec 2020, 1:18 PM
Sonic
Sonic - avatar
+ 2
#include <stdio.h> int max(int a,int b); int main(){ int a,b,c; a=3; b=4; c=8; int todo; todo=max(a,b); a=max(todo,c); printf("%d",a); return 0;} int max(int a,int b){ if(a>b) return a; else return b;}
2nd Dec 2020, 3:31 AM
Daniel Briceño
Daniel Briceño - avatar