netoops blog

Saturday, 24 August 2013

Calculation_LoopIncrement_Fraction

#include <stdio.h>
#include <conio.h>

void main()
{
  float x,y,z;
  clrscr();
  printf("X \t Y \t Z\n");
  for(x=1;x<=5;x+=.5)
  {
     for(y=0;y<=4;y++)
     {
z=5+3*(y+5*x);
printf("%2.1f \t %1.0f\t %4.2f\n",x,y,z);
     }
  }
  getch();
}

Tech Knowledege
SOCIALIZE IT →
FOLLOW US →
SHARE IT →

0 comments :

Post a Comment

 
Subscribe For Free Updates!

We'll not spam mate! We promise.

Become Our Fan on Social Sites!