×
Information!
Sign In
to continue to Youth4work
UserName, Email or phone
Enter your password
Remember me
Register
|
Forgot password
Login
Practice Tests
yTests - Skill Tests
Prep Tests
Psychometric Test
Typing Test
For Job Seekers
Search Jobs
Post Resume
yTests - Skill Tests
Prep Tests
Follow Employers
Job Insights
Certification Courses
For Employers
Post Jobs - Free
Contact Pre-Assessed Profiles
Campus Hiring
Managed Recruitment
Assessment Solutions
Subscription Plans
Sign In
Register
Free !!
Practice Tests
yTests - Skill Tests
Prep Tests
Psychometric Test
Typing Test
For Job Seekers
Search Jobs
Post Resume
yTests - Skill Tests
Prep Tests
Follow Employers
Job Insights
Certification Courses
For Employers
Post Jobs - Free
Contact Pre-Assessed Profiles
Campus Hiring
Managed Recruitment
Assessment Solutions
Subscription Plans
Sign In
Register
Free !!
×
Information!
Online Prep Test
C Programming
Forum
How will you print numbers from 1 to 100 without using loop?
How will you print numbers from 1 to 100 without using loop?
We cannot use any loop, for, do while, while. Print without the use of loop?
Aditi
13 Jun
3 Answers
answer
Answer
×
3 Answers
Sort by
Recent Answer
Top Voted
Recent Answer
1
-
3
of
3
3 Answers
Sort by
Recent Answer
Top Voted
Recent Answer
KL
Kane
13 Jun
the print_numbers function calls itself with n - 1 until n reaches 0. When n is greater than 0, it prints the
geometry dash lite
after the recursive call, which ensures the numbers are printed in ascending order from 1 to 100.
0
Comment
0
View all vote's
Modal content
×
All-Votes
No Vote
No Up Vote
No Down Vote
×
PB
Prafull
14 Aug
Use recursion... void printno(int n) { if(n>0) printno(n-1); printf("%d",n); }
0
Comment
1
View all vote's
Modal content
×
All-Votes
vinitha
vinitha
No Down Vote
×
AS
A
19 Jul
simply you have to type the no by givings an array with capasity of more than 100 places which can stores the data .
0
Comment
-2
View all vote's
Modal content
×
All-Votes
demo
prafull
No Up Vote
demo
prafull
×
Other Related Discussions
What does a person require to opt C programming as a career?
Лучшие игры 3d на Андроид
The best CBD for Life
C programming Program to print the Fibonacci series up to n numbers.
What is the eligibility criteria for cracking the C Progamming Exam 2018?
Ищу достойного мужчину!
What are jump statements in c language?
Write a program to store 5 elements in the array P and 3 elements in the array Q.Produce a third array R after joining the array P and Q.Display the resultant array.
Психологическая помощь при похудении
Бесплатные программы
Ask a Question
Practice Mock Test
c programming
Take Mock Test
×
Close
Ask / Start a new topic
title
forum