#include <iostream>
using namespace std;
int main()
{
int input;
cin >> input;
if (input == 1){
cout << "Понедельник";
}else if (input == 2){
cout << "Вторник";
}else if (input == 3){
cout << "Среда";
}else if (input == 4){
cout << "Четверг";
}else if (input == 5){
cout << "Пятница";
}else if (input == 6){
cout << "суббота";
}else if (input == 7){
cout << "Воскресенье";
}
return 0;
}
<span>months = (jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec);
years = 1900..2100;
people = array[years] of longint;
var
growth: array[months] of real;
hum: people;
notes: array[1..n] of string;</span>
«Statistical Psychology for the Social Sciences» – «статистический пакет для психологов и социологов»
Var
a,b,c:real;
Begin
Write('a = ');
ReadLn(a);
Write('b = ');
ReadLn(b);
Write('c = ');
ReadLn(c);
WriteLn(a+b-c/(a-2*b));
<span>End.
</span>
#include <stdio.h>
int main (int argc, char *argv[]) {
char word1[80], word2[80];
gets(word1);
gets(word2);
int count = 0, i = 0;
for (i = 0; word1[i] != 0; i++)
if (word1[i] != word2[i])
count++;
printf("%d", count);
return 0;
}