Tuesday, 19 January 2016

A simple programe 
  Multiplication of two number and take a number for input from those two number and find the other number of the multiplication.( `ywU msL¨vi ¸bdj Ges Dnv‡`i GKwU input wn‡m‡e wb‡q Aci msL¨vwU †ei Ki|)
    #include<stdio.h>
    #include<conio.h>
    main(){
      int total,one_num,sec_num;                 [declaration part of variable]
      printf("\nGive the total number = ");
      scanf("%d",&total);                              ['%d' use for decimal number]
      printf("\nGive First number of them = ");
      scanf("%d",&one_num);                      [ '&' use for store data in a variable]
      sec_num = total/one_num;
      printf("\nThe seconde number is =%d",sec_num);

    }

No comments:

Post a Comment