Answer:
// Program is written in C++ Programming Language
// Comments are used for explanatory purpose
#include<iostream>
using namespace std;
int main ()
{
// Variable declaration
string name;
int numQuestions;
int numCorrect;
double percentage;
//Prompt to enter student's first and last name
cout<<"Enter student's first and last name";
cin>>name; // this line accepts input for variable name
cout<<"Number of question on test"; //Prompt to enter number of questions on test
cin>> numQuestions; //This line accepts Input for Variable numQuestions
cout<<"Number of answers student got correct: "; // Prompt to enter number of correct answers
cin>>numCorrect; //Enter number of correct answers
percentage = numCorrect * 100 / numQuestions; // calculate percentage
cout<<name<<" "<<percentage<<"%"; // print
return 0;
}
Explanation:
The code above calculates the percentage of a student's score in a certain test.
The code is extracted from the Question and completed after extraction.
It's written in C++ programming language
Answer:
The primary piston activates one of the two subsystems. The hydraulic pressure created, and the force of the primary piston spring, moves the secondary piston forward.
Answer:
1. Tokyo skytree tower is the tallest tower in the world, measuring 2080 feet. That's almost twice the size of the Eiffel Tower!
2.The process of building the tower began in 2008. The project was completed on 29 February 2012.
3. Pairing form with function, Skytree will serve as a TV and radio broadcast tower.
Answer:
A truth table is a logical expression of the given inputs specially in boolean algebra and boolean functions in computer science and digital electronics.
Explanation:
Number of variables are 3 i.e A,B and C
so the number of bits are 2^3=8
A B C A+B B+C (A+B)(B+C)
0 0 0 0 0 0
0 0 1 0 1 0
0 1 0 1 1 1
0 1 1 1 1 1
1 0 0 1 0 0
1 0 1 1 1 1
1 1 0 1 1 1
1 1 1 1 1 1