input an integer n and show output all integers upto n,using functional c program | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

input an integer n and show output all integers upto n,using functional c program

just show me the functional logic...

6th Aug 2017, 4:09 PM
Noushin tabassum
3 Antworten
+ 7
int n; scanf("%d", &n); for (int i = 0; i <= n; i++) { printf("%d ", i); }
6th Aug 2017, 4:57 PM
Hatsy Rei
Hatsy Rei - avatar
0
anyone solve plz
6th Aug 2017, 4:41 PM
Noushin tabassum
0
I need functional solution....for loop in functions...
6th Aug 2017, 5:20 PM
Noushin tabassum