Just press »F« on your keyboard to show your presentation in fullscreen mode. Press the »ESC« key to exit fullscreen mode.
Press "Esc" or "o" keys to toggle the overview mode on and off. While you're in this mode, you can still navigate between slides, as if you were at 1,000 feet above your presentation.
if(condition == true)
{
}
else
{
}
int a, b, max;
cout << "Enter a: ";
cin >> a;
cout << "Enter b: ";
cin >> b;
if(a > b)
{
max = a;
}
else
{
max = b;
}
cout << "Maximum: " << max << endl;
if(condition == true)
{
// ToDo
}
int number;
cout << "Enter number [0,+inf]: ";
cin >> number;
if(number == 0)
{
cout << "The Number is equal to 0" << endl;
}
if(number > 0)
{
cout << "The Number more than 0" << endl;
}
if(number > 25)
{
cout << "and more than 25" << endl;
}
if(number > 50)
{
cout << "and bigger than 50" << endl;
}
if(number > 100)
{
cout << "and larger than 100" << endl;
}
int a, b, max;
cout << "Enter a: ";
cin >> a;
cout << "Enter b: ";
cin >> b;
max = a;
if(b > a)
{
max = b;
}
cout << "Maximum: " << max << endl;
void encoder(char *text, int text_len){
for (int i = 0; i < text_len; i++) {
char letter = text[i];
char part1 = (letter & 0xf0) >> 4;
char part2 = letter & 0xf;
char part1_1 = (part1 >> 3) << 2;
char part1_2 = ((part1 >> 2) & 0x1) << 3;
char part1_3 = ((part1 >> 1) & 0x1);
char part1_4 = (part1 & 0x1) << 1;
part1 = part1_1 | part1_2 | part1_3 | part1_4;
part2 = part1 ^ part2;
text[i] = (part1 << 4) | part2;
}
}
bool encodeString(char *text, int text_len) {
// What is wrong with encodeString function
if (text != NULL) {
encoder(text, text_len);
cout << "Encrypted: " << text << endl;
}
return true;
}
if() {
if() {
}
else {
}
}
else {
if() {
}
else {
}
}
if(Rainy) {
if(Windy) {
if(Cold) {
cout << "Stay Home and drink a tea" << endl;
} else {
cout << "Take umbrella and coat" << endl;
}
} else {
cout << "Take umbrella" << endl;
}
} else {
cout << "Go for a walk" << endl;
}
int a, b, max;
cout << "Enter a: ";
cin >> a;
cout << "Enter b: ";
cin >> b;
if(a == b) {
cout << "a and b are the same" << endl;
max = a;
}
else {
if(a > b) {
max = a;
}
else {
max = b;
}
}
cout << "Maximum: " << max << endl;
if(condition1) {
}
else {
if(condition2) {
}
else {
if(condition3) {
}
else {
}
}
}
if(condition1) {
}
else if(condition2) {
}
else if(condition3) {
}
else {
}
int a, b, max;
cout << "Enter a: ";
cin >> a;
cout << "Enter b: ";
cin >> b;
if(a == b) {
cout << "a and b are the same" << endl;
max = a;
}
else {
if(a > b) {
max = a;
}
else {
max = b;
}
}
cout << "Maximum: " << max << endl;
int a, b, max;
cout << "Enter a: ";
cin >> a;
cout << "Enter b: ";
cin >> b;
if(a == b) {
cout << "a and b are the same" << endl;
max = a;
}
else if(a > b) {
max = a;
}
else {
max = b;
}
cout << "Maximum: " << max << endl;
if(color == COLOR_GREEN) {
cout << "Go, go, go... But don`t RUN" << endl;
}
else {
if(color == COLOR_YELLOW) {
cout << "Hold on, steady, wait" << endl;
}
else {
if(color == COLOR_RED) {
cout << "Stay and wait" << endl;
}
else {
cout << "Stop digging your nose and look at the color" << endl;
}
}
}
enum Colors {
COLOR_GREEN,
COLOR_YELLOW,
COLOR_RED
};
switch (color)
{
case COLOR_GREEN:
cout << "Go, go, go... But don`t RUN" << endl;
break;
case COLOR_YELLOW:
cout << "Hold on, steady, wait" << endl;
break;
case COLOR_RED:
cout << "Stay and wait" << endl;
break;
default:
cout << "Stop digging your nose and look at the color" << endl;
break;
}
match (object):
case objectCase1 | objectCase2 | objectCase3:
...
case _:
...
now() if time is None else time