programming like c, c++, java,python learn in free

  • This is default featured slide 1 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

  • This is default featured slide 2 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

  • This is default featured slide 3 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

  • This is default featured slide 4 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

  • This is default featured slide 5 title

    Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.This theme is Bloggerized by Lasantha Bandara - Premiumbloggertemplates.com.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Friday, May 29, 2020

C programming Question and Answer Day-6

21. Pattern 1 • • • • • • • • • • • • • • • #include<stdio.h> #include<conio.h> void main() { int i, j, n; clrscr(); printf("Enter number : "); scanf("%d", &n); for(i=1; i<=n; i++) { for(j=1; j<=i; j++) { printf("• "); } printf("\n"); } getch(); } 22. Pattern 2 • • • • • • • • • • • • • • • #include<stdio.h> #include<conio.h> void...
Share:

C programming Question and Answer Day -5

16. Program to print first n even numbers. #include<stdio.h> #include<conio.h> void main() { int i=2, n; //to print odd numbers set variable i=1 clrscr(); printf("Enter n : "); scanf("%d", &n); while(i<=n) { printf("%d\t",i); i=i+2; } getch(); } 17. Program to accept a number and print that number in reverse...
Share:

C programming Question and Answer Day-4

11. Program to accept three numbers from user and print them in ascending and decending order. #include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("Enter numbers:"); scanf("%d%d%d",&a,&b,&c); if((a>=b)&&(a>=c)) {    if(b>=c)    {       printf("\n...
Share:

Tuesday, May 26, 2020

C programming Question and Answer Day-3

11. Program to accept three numbers from user and print them in ascending and decending order. #include<stdio.h> #include<conio.h> void main() { int a,b,c; clrscr(); printf("Enter numbers:"); scanf("%d%d%d",&a,&b,&c); if((a>=b)&&(a>=c)) {    if(b>=c)    {       printf("\n...
Share:

Monday, May 25, 2020

C programming Question and Answer Day-2

6. Program to accept a number from user and print it’s square & cube. #include<stdio.h> #include<conio.h> void main() { int n,sqre,cube; clrscr(); printf("Enter Number: "); scanf("%d",&n); sqre=n*n; cube=n*n*n; printf("\nSquare: %d\nCube: %d",sqre,cube); getch(); } 7. Program to accept two values of a & b and swap their...
Share:

Sunday, May 24, 2020

C programming Question and Answer Day-1

1. Program to print "Hello World!!". #include<stdio.h> #include<conio.h> void main() { clrscr(); printf("Hello World!!"); getch(); } 2. Program to assign values of two numbers and print their addition. #include<stdio.h> #include<conio.h> void main() { int a,b,ans; clrscr(); a=10; b=20; ans=a+b; printf("Addition is : %d",ans); getch(); } 3....
Share:

Unordered List

recentposts1
Powered by Blogger.

Text Widget

Featured Post

C programming Question and Answer Day-15

71. Program to check Niven number (Harshad number). #include<stdio.h> #include<conio.h> void main() {     int n, d, a, su...

Search This Blog

recent comments

recentcomments

Labels

[slideshow][technology]

vertical posts

[verticalposts][technology]

business

[business][grids]

ad space

ads 600

vehicles

[cars][stack]
[verticalposts][food]

our facebook page

about us

logo

Jupiter is a magazine responsive Blogger template. It has everything you need to make your blog stand out. This template is fully customizable and very flexible and we believe you will love it as much as we do.

Slide show

[people][slideshow]

health

[health][btop]

recent posts

recentposts1

Subscribe Us

random posts

randomposts2

Recent Posts

top ads

Unordered List

recent

Pages

Theme Support

[socialcounter] [facebook][#][215K] [twitter][#][115K] [youtube][#][215,635] [rss][#][23M] [linkedin][#][21.5K] [instagram][#][600,300]