Answer:
# include<iostream>
#include<conio.h>
using namespace std;
void main ()
{
float r, area;
cout<<"Enter the radius of the circle";
cin>>r;
area = 3.14 * (r^2);
cout<<"\nArea of Circle= "<<area;
getch();
}
Explanation:
In this program, float is selected as data type for both radius and area. As, both the value can be in decimal. r is the name of radius variable. area represents the area of circle. By using cout and cin enter the value of radius. By applying formula, calculate the area and shown on output.
Answer:
Answer to the following question is True.
Explanation:
The following statement is True because the Modern Language Association style is the particular type of format that is standard for essays or that papers which is for the research or writing other types of projects or papers in an academic setting. That's why It required for the cited works that should be in the alphabetic manner.
Answer:i would love to help but are there any answer choices?
Explanation: please provide answer choices for an accurate answer
Answer:
int age = 10;
switch (age){
case 0:
case 1:
System.out.println("ineligible");
break;
case 2:
System.out.println("toddler");
break;
case 3:
case 4:
case 5:
System.out.println("early childhood");
break;
case 6:
case 7:
System.out.println("young reader");
break;
case 8:
case 9:
case 10:
System.out.println("elementary");
break;
case 11:
case 12:
System.out.println("middle");
break;
case 13:
System.out.println("impossible");
break;
case 14:
case 15:
case 16:
System.out.println("high school");
break;
case 17:
case 18:
System.out.println("scholar");
break;
default:
System.out.println("ineligible");
}
Explanation:
In java and many other programming languages, a switch statement is a way of having multiple branching options in a program. This is usually considered a more efficient way than using multiple if....else if statements. and the expression variables could be byte, char int primitive data types. etc. every branch (option) in a switch statement is followed by the break statement to prevent the code from "falling through". In the question The variable age is declared as an int and initialized to 10. and tested against the conditions given in the question.
Answer: A) Indexes are locations of tables within a database.
Explanation: The index of a database is a data structure that improves the speed of operations, by means of a unique identifier of each row of a table, allowing rapid access to the records of a table in a database. It has an operation similar to the index of a book, keeping pairs of elements: the element to be indexed and its position in the database.