• Register
0 votes
32 views

Problem:

Write a conditional that assigns True to fever if temperature is greater than 98.6.?

5 3 2
7,520 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

if temperature > 98.6: fever = True

6 4 2
14,580 points
if temperature > 98.6: fever = True

Related questions

0 votes
2 answers 25 views
25 views
Problem: Given the array a, write an expression that refers to the first element of the array?
asked Apr 12, 2020 ArifulIslam 7.5k points
0 votes
1 answer 17 views
17 views
Problem: Hi there! I am confused in while loops and I need to write a program in which a value is taken as input from the user. If the value is less than 0, the program should increment it by 5 as long as the value remains less than 0. As the value becomes greater than or equal to 0, it should print the number of times the value has been incremented and the final value. Any help??
asked Jan 21 Code Learner 5.8k points
0 votes
1 answer 12 views
12 views
I noticed that in the loop of STATEMENT 1 we put (* p ++) and supposedly this represents that it is going to loop through an element of the array. But I start to think that the logical thing would be that if my pointer is starting at position [0]; in the loop of DECLARATION 1 I would start saving it in position ... position" << i << ":"; cin >> * p;         * p ++;     } * /          return 0; }
asked Aug 14, 2020 game 4.6k points
0 votes
1 answer 101 views
101 views
Problem: An array is a(n) ____ of values in computer memory? list accumulation set record
asked Jul 23, 2020 HenryL 620 points
0 votes
1 answer 57 views
57 views
Problem: Regardless of the algorithm being used, a search through an array is always performed? a. from lowest to highest element b. from highest to lowest element c. beginning with the middle element d. using a binary search e. None of these
asked Jul 23, 2020 conner 1.5k points
0 votes
1 answer 21 views
21 views
Problem: Given that play_list has been defined to be a list, write a statement that sorts the list?
asked Mar 9, 2020 ArifulIslam 7.5k points
0 votes
1 answer 37 views
37 views
I need to make a [console] program that gets the full names of five people, as well as their three grades to calculate their average. Instead of declaring variable by variable string nom1, nom2 //... int cal1, cal2 //... I want to make a for loop (or ... at the end because "the identifiers are not defined". Is it possible to achieve this, or is it something that not even magic can achieve?
asked Nov 8, 2020 sasha 8.4k points
0 votes
1 answer 16 views
16 views
char word [] = "Hello World"; char vowels [] = ""; int i; for (i = 0; i <strlen (word); i ++) {      if (word [i] == 'a' || word [i] == 'e' || word [i] == 'i' || word [i] == 'or' || word [i] == 'u') {          // here would be the line of code I need      } } The vowel result would have to be "oauo"
asked Aug 16, 2020 game 4.6k points
0 votes
1 answer 591 views
591 views
I was making a C ++ program for entertainment which includes vectors. I need to get the size of the vector. Could someone help me to get said value?
asked Aug 15, 2020 game 4.6k points