Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урокОбсуждения
#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 голос
5 ответовNamespaces in C++
1 голос
1 ответusing 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 голос
7 ответовАктуальное сегодня
Comparing code coach solutions
3 Votes
Automatation python
1 Votes
General python
1 Votes
Coding
1 Votes
view challenge analytics
2 Votes
header only implementation
1 Votes
Problem with application
0 Votes
how to create a website
0 Votes
How and where to use html?
0 Votes
Generative AI
0 Votes