View Single Post
Old
01-27-2013, 11:28 AM
  #148
Finnish your Czech
I love Olli Jokinen
 
Finnish your Czech's Avatar
 
Join Date: Nov 2009
Location: Toronto
Country: Finland
Posts: 45,825
vCash: 50
Code:
#include <stdio.h>

int main(void)

{int x;
printf("Enter the amount of goals Nazem Kadri will score this season:");
scanf("%d", &x);
if (x = 50)
{printf("Correct!");}
else
{printf("Incorrect!");}
return(0);}
Now it says "Correct!" for any number I put in.

Finnish your Czech is offline   Reply With Quote