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:
God Is Good He Will Always Help You He Is Good And Always Good!!
If God Is For Us Who Can Be Against us?? Romans 8:31
Explanation:
Answer:
char str[5][100]
Explanation:
See attachment for options:
From the options, we can see that the programming language is C language.
The syntax to store an array of m strings with a maximum of n elements in C is:
char array-name[m][n]
In this case:
--- Number of strings in the array
--- Maximum character in each string
Assume the array name is str, the syntax can be expressed as:
char str[5][100]
The pseudocode representing the above described logic of a program is:
start
input num1
input num2
set product = num1*num2
output product
stop
See the related flow chart is attached.
<h3>What is a pseudocode?</h3>
Pseudocode is a precise yet comprehensible explanation of what a computer program or algorithm must perform, written in normal language rather than programming language.
Pseudocode is occasionally used as a detailed phase in the development of a program.
Learn more about Pseudocode:
brainly.com/question/24953880
#SPJ1
Answer: Option(d) is the correct option
Explanation:
Excel sheets are the spreadsheets which consists of rows and columns for arrangement and display of values.It is used for mathematical function and computation .
According to the question, as Elsa is performing deletion of three rows is done for development, other rows will tend to shift upwards and settle in the deleted row spaces accordingly as per arrangement.
- Other options are incorrect because deleted rows will not be indicated through empty spaces,row data won't shift to bottom of sheet and neither shift of data will take place at the starting of sheet.
- Thus the correct option is option(d).