With no author on a website you should name the website.
for example As shown in " Slave Density"------ it didn't have a author so i used the nameof source
Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main() {
//variable to store input
double price;
int totalNumber;
// variable to store total price
double total_price;
cout<<"Enter the price of an order:";
// read the price of an order
cin>>price;
cout<<"Enter the number of orders:";
// read the total number of orders
cin>>totalNumber;
// calculate total price of all orders
total_price=price*totalNumber;
cout<<"total price of all orders: "<<total_price<<endl;
return 0;
}
Explanation:
Declare three variables "price" of double type,"totalNumber" of int type And "total_price" of type double.Read the value of an order and number of orders. The calculate the total price by multiply "price" with "totalNumber" and assign it to variable "total_price". Print the total price.
Output:
Enter the price of an order:12.5
Enter the number of orders:3
total price of all orders: 37.5
<span>Words or names defined by the programmers are called as programmer defined symbols or identifiers. These are called as variables which are just simple storage locations and making available for the program to use. No two variables are same in the code of the program.</span>
Answer:
I'm pretty sure its A
Explanation:
The Media it the biggest platform rn
Answer:
See explaination
Explanation:
Loop Unrolling
Assembly code
loop:
load r1, r5, 40 //r1 = Mem[r5 + 40]
load r6, r5, 36 //r6 = Mem[r5 + 36]
add r7, r6, r2 //r7 = r6 + r2
store r7, r5, 36 //Mem[r5 + 36] = r7
add r1, r1,r2 //r1 = r1 + r2
store r1, r5, 40 //Mem[r5 + 40] = r1
addi r5, r5, -8 //r5 = r5 -8
bne r5, 0, loop //if(r5 != 0)branch to loop