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 wall of an impact socket is around 50% thicker than that of a regular socket, making it suitable for use with pneumatic impact tools, whereas regular sockets should only be used on hand tools.
Explanation:
This allows the socket to remain securely attached to the impact wrench anvil, even under high stress situations.
Answer:
a.) a component item is coded at the lowest level at which it appears in the BOM structure is the correct answer.
Explanation:
- Low-level coding is a kind of programming language used in BOM structures and it carries basic commands that are identified by a computer.
- The two types of low-level coding are
- Assembly language.
- machine language.
- The advantages of using low-level coding are programs develop by using low-level code are very memory effective and quick and there no need to use interpreters for the conversion of the source to machine code.