Header Ads Widget

Practice Questions based on loops

 Here in this article we will discuss some questions related to looping construct . Frist we have  good knowledge about loops . Read this article for have a better knowledge of loops . Practice these problems and if you face any problem in solving this please check solutions . So let's get start 

1. Write a program to print your name 5 times on screen :   C    |     C++    |    Python  

2 . Write a program to print first 10 natural number :    C    |     C++    |    Python  

3 . Write a program to print first 10 natural number in reverse order :    C    |     C++    |    Python  

4 . Write a program to print first N natural number :    C    |     C++    |    Python  

5 . Write a program to Find the sum of n natural numbers   C    |     C++    |    Python  

6. Write a program to Calculate the Factorial of a given number :    C    |     C++    |    Python  

7. Write a program to print first 10 odd numbers :    C    |     C++    |    Python  

8. Write a program to print the table on user's choice :    C    |     C++    |    Python  

9. Write a program to find the number of digits in a number :   C    |     C++    |    Python  

10. Write a program to find the sum of digits of a number :   C    |     C++    |    Python  

11 . Write a program to reverse a number :   C    |     C++    |    Python  

12 . Write a program to check whether a number is Armstrong or not :   C    |     C++    |    Python  

Recommended Post :-

HCL Coding Questions:-

Capgemini Coding Questions:-

Companies interview:-

Full C course:-    

Key points:-

Cracking the coding interview:-

 Array and string:-

Tree and graph:-

Hackerearth Problems:-

Hackerrank Problems:-

Data structure:-

 MCQs:-

Post a Comment

0 Comments