Dyskusje Q&A
if i download the programs for c++ on my pc ( codebuilds and the compiler ) and i want to write a program in my package ( workspace ) i create a new file and write smthing beginning
#include <iostream>
using namespace std;
int main ()
{
...
}
and i want to run it, it always runs this first program : Hello World. and not my written program how can i run just my written program ?
have i maybe to write anything else as
int main () {} ?
0 głosów
16 odpowiedziSwitch slower than if-else
0 głosów
1 OdpowiedźC++ Output question
1 Głos
1 OdpowiedźIf...elif...else
1 Głos
1 Odpowiedźwhy my code is not working?
0 głosów
2 odpowiedziusing 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 głosów
3 odpowiedziJavaScript Question
0 głosów
2 odpowiedziWhich language is need?
0 głosów
1 OdpowiedźTrouble
0 głosów
1 OdpowiedźWhy not working
-4 głosów
4 odpowiedziPopularne dzisiaj
Hi help me I am new
2 Votes
How do I solve all test cases for popsicles problem?https://www.sololearn.com/coach/3?ref=app
0 Votes
Where can I learn c#
0 Votes
Where did mess up....
1 Votes
Question to sololearn
1 Votes