Answer: The correct answer is Mobile device
Explanation:
A Mobile device is any portable equipment that can be easily connected to an internet. Example of mobile devices include; smart phones, palmtop, smart watch and other computer gadgets. The use of touchscreen for input or output on mobile devices can not be overemphasized. Mobile devices are handy and can be used for making work easy. As such, in order to effectively use mobile devices, touchscreen can be primarily used.
Answer
First term (t₁) = a = 3, Common difference (d) = 8 - 3 = 5 and last term (tₙ) = 78
78 = 3 + (n - 1)5
⇒ 78 = 3 + 5n - 5
⇒ 78 = -2 +5n
⇒ 78 + 2 = 5n
⇒ 80 = 5n
⇒ n = 16
Therefore, 78 is 16th term of A.P: 3, 8, 13, 18...
Answer:
Step by step explanation along with C++ code is provided below.
C++ Code:
#include <iostream>
using namespace std;
int main()
{
int numRows;
int numCols;
int r = 1;
cout <<"Please enter no. of rows"<<endl;
cin>>numRows;
cout <<"Please enter no. of columns"<<endl;
cin>>numCols;
cout<<"Seating arrangement in the theater:"<<endl;
for(int i = 0; i < numRows; i++)
{
char c = 'A';
for(int j = 0; j < numCols; j++)
{
cout <<r << c << " ";
c= c + 1;
}
r= r + 1;
}
return 0;
}
Explanation:
// the outer loop prints the rows
// counter r = r + 1 increments the rows
// the inner loop prints columns
// counter c = c + 1 increments the columns
// int r = 1 ensures that rows starts from 1
Output:
The program is tested multiple times and is working correctly for any number of rows and columns
Please enter no. of rows
2
Please enter no. of columns
3
Seating arrangement in the theater:
1A 1B 1C 2A 2B 2C