Answer:
The answer to this question is given below in the explanation section.
Explanation:
The code is written in C++
/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
#include <string>
using namespace std;
void display()
{
string yourName;
string watchedMovie;
cout<<"What is your name? ";
cin>>yourName;
cout<<"Which movie have you seen? ";
cin>>watchedMovie;
cout<<"Today, I have learned that " <<name<<" watched "<<watchedMovie<<" movie";
}
int main()
{
display();
return 0;
}
Pretty sure it’s keyloggers because it’s the only one that makes sense to me but I’m not 100% sure on that one
I would say A. She reads the entire paragraph, then rewrites it in her own words, and then checks to make sure her version is not too similar to the text from the article.
All the other ones are a little too obvious.
Hope this helps you, baii <33
Program to display greater number:
#include <iostream> <em>// Needed to perform IO operations </em>
#include<conio.h> <em> // header file</em>
using namespace std;
int main() //start of the program
{
int a , b =0; //initialising the two integer variable
cout<< "Enter first number"<<endl;
cin >> a; //user's first number
cout<< "Enter second number"<<endl;
cin >> b; //user's second number
if (a>b) //comparing the two integers input by user
cout<< a << "is greater than" << b; //display the greater number
else
cout<< b << "is greater than" << a;
return 0; // exist
}
Answer:
Output can be 0 or 1 or 2.
Explanation:
As we are initializing the value with 2 so at most it will increment to 2 times means value will be 2.
when main thread is printing the c , Increase thread might be started or might not be started
so output can be 0 or 1 or 2