Answer:
Option (B) and (C) is the correct option to the following question.
Explanation:
Because the function is the module of the program and we call that function again and again anywhere whenever we need that function in the program.
Function is used to carry out any operation which is used in the program many times and it creates the program short and simple.
<u>For example</u>: if we need to add or multiply two numbers many times in the program then, we create one or two functions for addition and subtraction or one program for both, when we need them we call them.
Answer:
b) Plus sign
Explanation:
The plus sign or addition operator (+) accomplishes concatenation. This is a greatly used in the Java's output Statement to combine values coming from different data types into a formatted output
consider the code snippet below which uses concatenation to output information about an individual
public class Name {
public static void main(String[] args) {
int age =18;
String name = "John";
System.out.println("His name is "+name +" and his age is "+age);
}
}
The + operator has been used to concatenate the int value age and the String value stored in name to the output
Answer:
You need to import the deque methods in order to use a deque.
Explanation:
the correct option is B
You need to import the deque methods in order to use a deque.
Please mark me as brainliest
Haije jiôes 1w mòé si aimx
Answer:
#include <iostream>
using namespace std;
int main(){
float cookies=0;
float sugar=1.5;
float butter=1;
float flour=2.75;
cout<<"how many cookies do you want: "<<endl;
cin>>cookies;
float num = cookies/48;
cout<<num<<endl;
cout<< "to make " << cookies<<"cookies you need: "<<endl;
cout<<"sugar cups: "<<num*sugar<<endl;
cout<<"butter cups: "<<num*butter<<endl;
cout<<"flour cups: "<<num*flour<<endl;
return 0;
}