Welcome fellow students, register yourself and dive into asking questions, giving answers and helping the community learn with you.

What's wrong in this code? (help50 can't help)

0 votes
asked Mar 24, 2019 in CS50 by mrvovkin (130 points)
This is my code:


#include <cs50.h>
#include <stdio.h>

int main(void)
    int login = get_int("Inbox Login: ");
    int passw = get_int("Password: ");
    if (int login == "656"||int passw == "18062009")
            printf("\nMessage: You are great \n and you got $500000\n");
            printf("\nWrong password and/or username!\n");

Please log in or register to answer this question.

Welcome to CS50xHelpers Q&A, where you can ask questions and receive answers from other members of the community.

284 questions

248 answers


6,600 users

2 Online
0 Member And 2 Guest