#include <stdio.h> int main() { int x=1,n; printf("Enter n value "); scanf("%d",&n); do { printf("%d\n",x); x++; } while(x<=n); return 0; }
Enter n value 20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Apply For Job
Java Material
Python Material
PLSQL Material
.Net Material
Java Practice Programs
400 Java Programs
Write a Java Program to find Armstrong number
Write a Java program to compute the sum of the first 100 prime numbers
Write a Java program to print the odd numbers from 1 to 20
Write a Program to remove duplicate element in an array
Write a java Program to check the given number is Palindrome or not
Write a Python program to display the first and last colors from the following list.
Write a Python Program to Find Factorial of Number Using Recursion.
Write a Python program that calculates the area of a circle based on the radius entered by the user.
Write a python program to print flatten a nested list
Write a Python program to remove duplicates from a list
Java Quiz - 8
Java Quiz - 23
Java Quiz - 21
Java Quiz - 9
Java Quiz - 20