VideoBar

This content is not yet available over encrypted connections.

Wednesday, October 5, 2016

গল্পটা প্রোগ্রামিং-এর (A tale of Programming): Tutorial 8- Data casting


#include<stdio.h>
main()
{
int i;
float f;
printf("Enter i such that i  integer:\n" );
scanf("%d",&i);
printf("Enter f such that f  floating point:\n");
scanf("%f",&f);
printf("The sum of %d and %f is = %f \n \n",i,f,(float)(i+f) );
}
Output




No comments:

Post a Comment