#include<stdio.h>
int main ()
{
float x, y, z, a, b; //Variable Declare//
printf("ICT Class6 , Page no 20, Problem solved\n\n");
//Work Start//
printf("Enter your number : ");
scanf("%f", & x);
y = x+10;
printf("1st Step: %.2f + 10 = %.2f\n", x, y);
z = y*2;
printf("2nd Step: %.2f * 2 = %.2f\n", y, z);
a = z - x;
printf("3rd Step: %.2f - %.2f = %.2f\n", z, x, a);
b = a - x;
printf("4th Step: %.2f - %.2f = %.2f\n\n", a, x, b);
// Final result Output//
printf("5th Step: My memory is (outout) : %.2f Ans.\n\n", b);
printf("Developed By Raihan Neshat");
getch ();
return 0;
}
int main ()
{
float x, y, z, a, b; //Variable Declare//
printf("ICT Class6 , Page no 20, Problem solved\n\n");
//Work Start//
printf("Enter your number : ");
scanf("%f", & x);
y = x+10;
printf("1st Step: %.2f + 10 = %.2f\n", x, y);
z = y*2;
printf("2nd Step: %.2f * 2 = %.2f\n", y, z);
a = z - x;
printf("3rd Step: %.2f - %.2f = %.2f\n", z, x, a);
b = a - x;
printf("4th Step: %.2f - %.2f = %.2f\n\n", a, x, b);
// Final result Output//
printf("5th Step: My memory is (outout) : %.2f Ans.\n\n", b);
printf("Developed By Raihan Neshat");
getch ();
return 0;
}
কোন মন্তব্য নেই:
একটি মন্তব্য পোস্ট করুন