Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
i am getting error anyone can help
0 голосов
5 ответовPublic static vs prívate static? C#
3 голосов
2 ответовWhat's Wrong With My Code??
0 голосов
2 ответовما هو الخطأ فى هذا الكود
0 голосов
2 ответовWhy this code doesn't go?
1 голос
1 ответWhy is not working
0 голосов
3 ответовusing System;
namespace GoodProgrammerTest
{
class Program
{
static void Main(string[] args)
{
Console.Write("Enter Yes or No");
Console.Write(
"Do you programme every day? : ") ;
int answer = Console.ReadLine();
if (answer =="Yes")
{
Console.WriteLine(
"You will be a good programmer");
}
else
{
Console.WriteLine(
"You will not be a good programmer");
}
}
}
}
2 голосов
3 ответовWhy we use c++ for programming??
2 голосов
2 ответовWhen I enter two numbers the sum is displayed.. but when I input character as yes not y... Then it goes into an infinite loop... can anyone explain why?
int a,b;
char ch;
do
{
cout<<"Enter two numbers: ";
cin>>a>>b;
cout<<"The sum is "<<a+b
<<"\nDo you want to try again (y/n): ";
cin>>ch;
}while(ch=='Y'||ch=='y');
0 голосов
4 ответовАктуальное сегодня
Comparing code coach solutions
3 Votes
Automatation python
1 Votes
General python
0 Votes
view challenge analytics
2 Votes
Where to use
0 Votes
Coding path
0 Votes
Problem with application
0 Votes