WAP to print 1 to 4 number without using loop
Answers
Answered by
2
Answer:
void print (int);
int main(){int n;
scanf("%d",&n);
void print(int n) {static int c=1,
if ( c==n+1) return;
print("%d/n",c); c++;print(n);}
Explanation:
hope it helps you mark me brainiest
Similar questions
English,
3 months ago
Computer Science,
3 months ago
English,
3 months ago
Social Sciences,
7 months ago
Science,
7 months ago
Physics,
10 months ago
Sociology,
10 months ago