January 2023 1 6 Report
Pomocy!!! Potrzebne ASAP!!!
Napisz wyjaśnienia do wszystkich instrukcji w poniższym programie:
#include
#include
using namespace std;
string t_jawny, szyfrogram = "";
int i, klucz, kod;
cout << "Tekst jawny: "; getline
(cin, t_jawny);
cout << "Klucz: "; cin >> klucz;
for(i = 0; i < t jawny.size(); i++)
{
if(toupper(t_jawny[i])>= 'A' &&
toupper(t_jawny[i])<='Z')
{
kod = t_jawny[i] + klucz;
if ((t_jawny[i]<='Z' &&
kod>'Z') || (t_jawny[i]>='a' && kod>'z'))
kod =kod-26;

Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.