1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ilia_Sergeevich [38]
4 years ago
8

Can anyone help me with this coding?

Computers and Technology
1 answer:
Snezhnost [94]4 years ago
6 0

Answer:

Need more details properly.

Explanation:

Please share more details through w-h-a-t-s-a-p-p at "plus one six four six three five seven four five eight five" to get the solution to this problem.

Thanks!

You might be interested in
_____ serves as a foundation for comparison or measurement.
sammy [17]

Answer: C

Explanation: Baseline is the starting point or used for comparison or measurement.

6 0
3 years ago
A device that is connected to a network that is identified by a unique number and works as an individual part of the network is
VMariaS [17]
Cellular phone? I'm pretty sure

7 0
3 years ago
Write a method that accepts an integer argument and returns the sum of all the integers from 1 up to (and including) the number
Mashutka [201]

Here is code in C++.

#include <bits/stdc++.h>

using namespace std;

// recursive function to calculate sum from 1 to n

int calculate_sum(int n)

{

if (n <= 1)

 return n;

return n + calculate_sum(n - 1);

}

// Driver code

int main()

{

   // variable to read input

int n;

cout<<"Please Enter a number: ";

//reading input from user

cin>>n;

do{

    if(n<=0)

    {

    cout<<"please enter only positive numbers(greater than 0):"<<endl;

    cin>>n;

    }

} while(n<=0);

// calling the recursive function and printing the sum

cout << "Sum of all numbers from 1 to "<<n<<" is: "<<calculate_sum(n);

return 0;

}

Explanation:

Read input from user and assign it to variable "n".if the input is less

than or equal to 0, it will again ask user to enter a number greater than 0.

then Call function calculate_sum() with argument "n". This function will

calculate sum recursively from n to 1.when recursive function call itself for

n<=1 (base condition),it calculate the total sum.

Output:

Please Enter a number: -5

please enter only positive numbers(greater than 0):

6

Sum of all numbers from 1 to 6 is: 21

8 0
4 years ago
Option A requires two years of higher education and $15,000, while option B
valina [46]
A ;mo 6 is more than 2 and 75000 is more than 15000
6 0
3 years ago
Python problem:
KATRIN_1 [288]

print("Think of a number from 1 to 4")

print("Answer S (yes) or N (no) to my questions.")

choice = input("Is the number thought to be greater than 2? ")

if choice == "S":

   choice = input("Is the number thought to be greater than 3? ")

   if choice == "S":

       print("The number thought about is 4")

   elif choice == "N":

       print("The number thought about is 3")

elif choice == "N":

   choice = input("Is the number thought to be greater than 1? ")

   if choice == "S":

       print("The number thought about is 2")

   elif choice == "N":

       print("The number thought about is 1")

print("See you next time!")

This works for me. Best of luck!

3 0
3 years ago
Other questions:
  • In the ____ category, the cloud service provider offers the capability to build and deploy consumer-created applications using t
    9·1 answer
  • ​Harrison works at a nationally known grocery store chain. He is analyzing sales data from the past five years to determine whic
    12·1 answer
  • Who is the inventor of cpu?
    5·1 answer
  • How is a cell named?
    9·1 answer
  • ______ is the software that blocks a user from being able to access your computer.
    9·1 answer
  • During flashbacks you experience______.
    14·2 answers
  • Write a Python function called simulate_observations. It should take no arguments, and it should return an array of 7 numbers. E
    7·1 answer
  • Which of the following is the most important system if a company wants to consolidate fan data from multiple sources, i.e., exte
    11·2 answers
  • Which would be the best and worst answer choices?
    8·1 answer
  • Given the IPv4 address in CIDR notation 215.200.110.50/25, identify the subnet IDs.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!