That the user can select to either reset the options, or go back to a previous screen, if you can show me options ill tell you which one.
Answer:
// program in C++.
#include <bits/stdc++.h>
using namespace std;
int main() {
// variable
int num;
cout<<"Enter the number between 20 and 98: ";
// read number
cin >> num;
while(num<20||num>98)
{
cout<<"Wrong input!!enter number between 20-98 only:";
cin>>num;
}
cout<<"The output is: ";
while(num % 10 != num /10)
{
// print numbers.
cout<<num<<" ";
// update num.
num--;
}
// display the number.
cout<<num<<endl;;
return 0;
}
Explanation:
Read a number from user and assign it to variable "num".Check if entered number is in between 20-98 or not.If input number is less than 20 or greater than 98 then ask again to enter a number between 20-98 until user enter a valid input.Then print the countdown from input number till both the digit of number are same.
Output:
Enter the number between 20 and 98: 99
Wrong input!!enter number between 20-98 only:12
Wrong input!!enter number between 20-98 only:93
The output is: 93 92 91 90 89 88
Enter the number between 20 and 98: 77
The output is: 77
Merging files involves combining two or more files while maintaining the sequential order of the records.
<h3>What is
Merging files?</h3>
Merging is known to be the act of of taking two or a lot of groups of data in the method of a file or folder, and adding them together into a single file or folder,
There are different kinds of files that exists. A computer file is one that comes in different format and sizes as well as its function. To merge connote to put two or more things together.
Note that, Merging files involves combining two or more files while maintaining the sequential order of the records.
Learn more about Merging files from
brainly.com/question/1206838
#SPJ1
Answer:
17
Explanation:
For a binary tree with h levels, the maximum number of nodes is 2ʰ − 1.
2ʰ − 1 ≥ 100,000
2ʰ ≥ 100,001
h ≥ log₂ 100,001
h ≥ 16.6
The smallest number of levels required to store 100,000 nodes is 17.
That sounds like a reader's activity level