Sign in to follow this  
Killerdruid

What is wrong with this code?

Recommended Posts

Killerdruid    100
Hello guys n girls.
Ihave just started using C++ language and don't know what is wrong with my code.
Don't mind the printf expressions.
Thanks all!

#include "stdio.h"
#include "conio.h"

main()
{
int not;
printf("Notunuzu girin:");
scanf("%d",& not);

if(not>=45)
{
printf("Dersten Geçtiniz!");
}
else
{
printf("Dersten Kaldınız");
}
getch();
}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this