![sabrinachambers444](/avatars/2712.jpg)
sabrinachambers444
22.03.2021 •
Computers and Technology
Binary Search:
2 6 15 42 55 89 111 256
Solved
Show answers
More tips
- F Family and Home How to Quickly and Effectively Remove Gum from Clothing?...
- A Auto and Moto How to choose the right drive for your BMW...
- L Leisure and Entertainment How to Choose the Perfect Gift for Men on February 23rd?...
- H Health and Medicine How to Treat Whooping Cough in Children?...
- H Health and Medicine Simple Ways to Lower Cholesterol in the Blood: Tips and Tricks...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
- A Art and Culture When Will Eurovision 2011 Take Place?...
- S Style and Beauty How to Choose the Perfect Hair Straightener?...
Answers on questions: Computers and Technology
- C Computers and Technology Harry Potter and his friends are at Ollivander s with Ron, finally replacing Charlie s old broken wand. Hermione decides the best way to choose is by determining the minimum...
- C Computers and Technology Andy is listing the advantages of CASE tools in a presentation in order to make a case for using them in his new project. What are the advantages of CASE tools? Some of the...
- C Computers and Technology How are headers and footers are useful in presentation...
- B Business Lionworks Enterprises had the following inventory data: Date Quantity Unit cost July 1 Beginning inventory 5 $52 July 4 Purchase 10 $55 July 7 Sale 12 July 11 Purchase 9 $58...
- M Mathematics in 2011 the state pension was increased by 3% to £89.61 what was the state pension before this increase...
- S Social Studies What was built in the city of Cordoba and whose influence was visible in the building? E d g e n u i t y Social Studies B-6 Challenges to Church Authority/Online contentWould...
- B Biology This food web describes feeding relationships in a tropical community. boa constrictor beetle coati poison dart frog sloth strangler fig fungus fruit bat If an invasive species...
- C Computers and Technology Best LED lights??? please let me know...
- H History What effect did the French Revolution of 1789 have on the European continent? (426) A. Other European nations began their own revolutions in attempt to overthrow their governments....
- M Mathematics Which of the following word problems can be solved using the equation 4(x + 8) = 40? Oscar has 8 stacks of trading cards. Each stack originally has x trading cards. He adds...
Ответ:
2 = 10
6 = 110
15 = 1111
42 = 101010
55 = 110111
89 = 1011001
111 = 1101111
256 = 100000000
Ответ:
#include <iostream>
const double PI = 3.14159;
int main() {
double diameter;
std::cin >> "Please enter the diameter of the circle:" << std::endl;
std::cin >> diameter;
double radius = diameter / 2;
double area = radius * radius * PI;
double circumference = 2 * radius * PI; // or diameter * PI;
std::cout << "Area: " << area << std::endl;
std::cout << "Circumference: " << circumference << std::endl;
}
Explanation:
The first line imports the read/write library. The rest should be self-explanatory.