Q&A Discussões
#include <iostream>
using namespace std;
int calc(int &a,int &b,int c=6)
{
a+=b;
b-=c;
c=a+b;
}
int main()
{
int calc(int,int,int);
int x=2,y=3,z=4; cout<<x<<endl<<y<<endl<<z<<endl;
calc(x,y,z); cout<<x<<endl<<y<<endl<<z<<endl;
calc(5,6,z); cout<<x<<endl<<y<<endl<<z<<endl;
return 0;
}
1 Voto
5 RespostasNamespaces in C++
1 Voto
1 Respostausing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
static void Main(string[] args)
{
int age = Convert.ToInt32(Console.ReadLine());
int broAge = Convert.ToInt32(Console .Readline());
Console.WriteLine("You are {0} years old", "your bro is {1}", age, broAge );
}
}
}
-1 Voto
7 RespostasQuente hoje
<--Cursor Point--/>
9 Votes
Help in python
1 Votes
pls sololearn fix this
1 Votes
AI courses
0 Votes
SINTAX ERROR WHERE?
1 Votes
I want to learn HTML / CSS
0 Votes