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:
import java.util.Scanner;
public class InputExample {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int birthMonth;
int birthYear;
birthMonth = scnr.nextInt();
birthYear = scnr.nextInt();
System.out.println(birthMonth+"/"+birthYear);
}
}
Answer:
|W|=169.28 KJ/kg
ΔS = -0.544 KJ/Kg.K
Explanation:
Given that
T= 100°F
We know that
1 °F = 255.92 K
100°F = 310 .92 K

We know that work for isothermal process

Lets take mass is 1 kg.
So work per unit mass

We know that for air R=0.287KJ/kg.K


W= - 169.28 KJ/kg
Negative sign indicates compression
|W|=169.28 KJ/kg
We know that change in entropy at constant volume


ΔS = -0.544 KJ/Kg.K
During World War ll, the United States and the Soviet Union fought together as the allies against the Axis power. However, the relationship between the two nations was a tense one. Americans had long been wary of Soviet communism and concerned about Russian leader Joseph Stalin’s tyrannical rule of his own country