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
Answer:
Topology means arrangement of nodes
Explanation:
In computer science the word topology means the arrangement of nodes and elements in a network. For any topology we do need nodes and cables for maintaining the infrastructure.
In mesh topology the all nodes use to get connected by direct link. While each and every node is directly associated with one another. In this infrastructure we do need lot cabling where every node will be connected with one another. While usage of good quality cable in network is also expensive to manage. Although there are lot of benefits of this topology, where the transmission of data would never stop if node is not working the rest will be working to transfer the data among other nodes ,this is more secure because there is no traffic for data to travel via many nodes to reach the destination. Every node is directly connected and communicate. So, once the node is not working the communication will not be stop but the maintenance and troubleshooting will be difficult in this infrastructure.
It is proved along with lot of benefits and network security ,this infrastructure is having some disadvantages as well. Cabling expense , maintenance cost etc . usually small scale networks do not prefer mesh topology. Small scale and low budget companies can not afford this topology because it is expensive.
Although we do believe that the data security is most important for today's era ,so few companies those wanted to keep their information secure and confidential they must use mesh topology by ignoring the cost incurred for this set up. Data security and integrity would never be compromised by some of the companies.
Mesh topology is more safer, more quick infrastructure which is although very expensive , difficult to mange and maintain. Moreover it is overhead of cabling as well to connect every node but the demand of mesh topology would never be less. It is demanding and appealing topology still.
...something that the user knows.
The correct answer is 1: B new tech and 2:C we can tell by the way businesses are incorporating things like social media like how Wendys got more popular because of their sassy tweets