PSEUDOCODE:
1. DECLARE number: INTEGER
2. DECLARE multiple: INTEGER
3. INPUT number
4. FOR counter FROM 1 TO 10 DO
5. multiple <-- number * counter
6. PRINT number, " * ", counter, " = ", multiple
7. ENDFOR
<em>1. declaring a variable "number" as an Integer</em>
<em>2. declaring a variable "multiple" as an Integer</em>
<em>3. The user inputs the value of number</em>
<em>4. FOR loop where variable "counter" increments by 1 after every iteration</em>
<em>5. sets the value for variable "multiple" as the value of number * counter</em>
<em>6. prints out for example "3 * 1 = 3" and will continue till counter reaches 10</em>
<em>7. Ends the for loop</em>
FLOWCHART below
hope it helped
The Andromeda Galaxy would be my answer.
Answer:
Voter registration lists, also called voter rolls, are the gateway to voting because a citizen typically cannot cast a vote that will count unless his or her name appears on the voter registration rolls. State and local officials regularly remove—or purge—citizens from voter rolls. In fact, 39 states and the District of Columbiareported purging more than 13 million voters from registration rolls between 2004 and 2006.
Explanation:
Answer:
C++ code is given below
Explanation:
#include <iostream>
#include <cctype>
#include <string.h>
#include <cstring>
#include <sstream>
using namespace std;
struct Car {
public:
char reportingMark[5];
int carNumber;
string kind;
bool loaded;
string destination;
};
void input(Car *);
void output(Car *);
int main() {
Car *T = new Car;
input(T);
output(T);
delete T;
return 0;
}
void input(Car *T)
{
string str, s;
cout << " Enter the reporting mark as a 5 or less character uppercase string: ";
cin >> str;
for (int i = 0; i < str.length(); i++)
T->reportingMark[i] = toupper(str[i]);
cout << " Enter the car number: ";
cin >> T->carNumber;
cout << " Enter the kind: ";
cin >> T->kind;
cout << " Enter the loaded status as true or false: ";
cin >> s;
istringstream(s) >> boolalpha >> T->loaded;
if (T->loaded == true) {
cout << " Enter the destination: ";
cin.ignore();
getline(cin, T->destination);
}
else
T->destination = "NONE";
}
void output(Car *T)
{
cout << " Reporting Mark: " << T->reportingMark;
cout << " Car Number: " << T->carNumber;
cout << " Kind: " << T->kind;
cout << " Loaded Status: " << boolalpha << T->loaded;
cout << " Destination: " << T->destination << " ";
}