Life is like a box of chocolates, you never know what you're going to get..
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) ); }
No comments:
Post a Comment