#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 count the letters, spaces, numbers and other characters of an input string
Write a Java program to convert a decimal number to binary numbers
Write a Java program to find the area of a triangle.
Write a Java Program to find largest and second largest in an array
Write a Program to Find largest and smallest number in an array in java
Write a python program to print properties and methods
Write a Python program to print fibonacci series
Write a Python program to remove duplicates from a list
Write a Python Program to Find the Sum of Natural Numbers.
Print out a set containing all the colors from a list which are not present in other list
Java Quiz - 13
Java Quiz - 21
Java Quiz - 11
Java Quiz - 23
Java Quiz - 7