Write a program to fill the entire screen with diamond and heart alternatively. The ASCII value for heart is 3 and that of diamond is 4.
void main()
{
float d=1;
while(d<9999)
{
printf("%c%c",3,4);
d++;
}
}
Subscribe to:
Post Comments (Atom)
I THINK ITS NT WRKING,,,,PLZ CHECK IT OUT...
ReplyDeleteFLOAT TYPE OR CHAR TYPE ITS CONFUSION,,
It's working fine...
ReplyDeleteaur dikaaooooo ne lalla...it working finee raaa
ReplyDeleteWhen your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your. Print Production
ReplyDelete