Add Papers Marked0
Paper checked off!

Marked works

Viewed0

Viewed works

Shopping Cart0
Paper added to shopping cart!

Shopping Cart

Register Now

internet library
Atlants.lv library
FAQ
4,49 € Add to cart
Add to Wish List
Want cheaper?
ID number:282504
 
Author:
Evaluation:
Published: 21.03.2023.
Language: Latvian
Level: Secondary school
Literature: n/a
References: Not used
Time period viewed: 2016 - 2020 years
2021 - 2025 years
Extract

++ ir jaudīga programmēšanas valoda, ko plaši izmanto programmatūras lietojumprogrammu, tostarp operētājsistēmu, videospēļu un zinātnisko simulāciju, izstrādē. Tā ir C valodas paplašinājums un nodrošina papildu funkcijas, piemēram, objektorientētu programmēšanu, veidnes un izņēmumu apstrādi.

Šeit būs daži piemēri no C++

Vai Skaitlis ir palindroms:

#include
using namespace std;
int main()
{
int t, z, x=0, y;;
cout << " ievadiet skaitli= ";
cin >> t;
y = t;
while(t>0)
{
z = t % 10;
x = (x * 10) + z;
t = t / 10;
}
if (y == x)
cout << " Skaitlis ir palindroms.";
else
cout << " skaitlis nav palindroms.";
return 0;

}

Load more similar papers

Atlants

Choose Authorization Method

Email & Password

Email & Password

Wrong e-mail adress or password!
Log In

Forgot your password?

Draugiem.pase
Facebook

Not registered yet?

Register and redeem free papers!

To receive free papers from Atlants.com it is necessary to register. It's quick and will only take a few seconds.

If you have already registered, simply to access the free content.

Cancel Register