1.
#include <iostream>#include <string>
using namespace std;
int main(){ string chars; // This is where we will put our @ signs and print them for(int x=0;x < 5; x++){
chars = chars + '@'; // This will concatenate an @ sign at the end of the variable cout << chars << "\n"; }}
2.
#include <iostream>#include <string>
using namespace std;
int main(){ string name; // Our variable to store the name cout << "What is your name? \n"; // Asks the user for their name cin >> name; cout << "\nWell, hello " << name << "!";}
3.
#include <iostream>#include <string>
using namespace std;
int main(){ int number; // Our variable cout << "Enter a number\n"; // Asks for a number cin >> number; cout << "You entered " << number << "%!";}
4.
#include <iostream>#include <string>
using namespace std;
int main(){ int number; // Our variable cout << "Enter a number\n"; cin >> number;
int check = number % 2; // The modulo operator (the percent sign) gets the remainder of the quotient if (check == 0) { cout << number << " is even!"; // If the remainder is 0 then it prints out "x is even" } else { cout << number << " is odd!"; // If the remainder is not 0 then it prints out "x is odd" }}
5.
#include <iostream>#include <string>
using namespace std;
int main(){ float r; // Our variable cout << "Enter a radius\n"; cin >> r; if (r < 0){ cout << "Lol. No."; // If the radius is less than zero print out that message } float circumference=2*3.14*r; float area=r*r*3.14; cout << "\n\n Circumference of circle: " << circumference; cout << "\n Area of circle: " << area;}
Answer:
dsdasd1.Discuss the differences and similarities between a peer-to peer network and a client server network.
1.Discuss the differences and similarities between a peer-to peer network and a client server network.
1.Discuss the differences and similarities between a peer-to peer network and a client server network.
1.Discuss the differences and similarities between a peer-to peer network and a client server network.
1.Discuss the differences and similarities between a peer-to peer network and a client server network.
1.Discuss the differences and similarities between a peer-to peer network and a client server network.
1.Discuss the differences and similarities between a peer-to peer network and a client server network.
Explanation:
jaiusfkybuetcrjnwxyefshrcxijkwuecvashcnzx
Answer:
The objects created in the main method and their initial states are given below
Explanation:
The objects and initial state of each object( the values of each object’s variables) are thus:
We have objects awesome, amazing and fantastic.
initial state of awesome object is
aName = "Awesome"; aNumber = 5; amAwesome = true;
initial state of amazing object is
aName = "Amazing"; aNumber = -10; amAwesome = false;
initial state of fantastic object is
aName = "Fantastic"; aNumber = 11; amAwesome = true
Answer: (A) Look at engagement rate for targeting and focus on the methods with the highest view through rate
Explanation:
TrueView video enables to post ads in social sites however it is paid by the sponsor only if the ad is viewed fully or in some cases it is viewed only upto 30s of the total size of the video.
So in order to have a larger viewer engagement it is necessary for it to focus on the methods which would garner it highest views.
So option A is correct.
Option B and c are not correct these options would not cater to the needs of the viewer.
Answer:
claimmmmmmmmmmmmmmmmmmmmmm