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
MakcuM [25]
3 years ago
10

What is a good way to minimize technical problems with your computer

Computers and Technology
1 answer:
Pani-rosa [81]3 years ago
6 0
By not using it of course.
You might be interested in
Description:
Nastasia [14]

Answer:

The programming language is not stated (I'll answer using C++)

#include <iostream>

using namespace std;

int convert(float miles)

{

   return miles * 5280;

}

int main() {

   cout<<"Console:"<<endl;

   cout<<"Hike Calculator"<<endl;

   float miles;

   char response;

   cout<<"How many miles did you walk?. ";

   cin>>miles;

   cout<<"You walked "<<convert(miles)<<" feet"<<endl;

   cout<<"Continue? (y/n): ";

   cin>>response;

   while(response == 'y')

   {

   cout<<"How many miles did you walk?. ";

   cin>>miles;

   cout<<"You walked "<<convert(miles)<<" feet"<<endl;

   cout<<"Continue? (y/n): ";

   cin>>response;

   }

   cout<<"Bye!";

   return 0;

}

Explanation:

Here, I'll explain some difficult lines (one after the other)

The italicized represents the function that returns the number of feet

<em>int convert(float miles) </em>

<em>{ </em>

<em>    return miles * 5280; </em>

<em>} </em>

The main method starts here

int main() {

The next two lines gives an info about the program

   cout<<"Console:"<<endl;

   cout<<"Hike Calculator"<<endl;

   float miles;

   char response;

This line prompts user for number of miles

   cout<<"How many miles did you walk?. ";

   cin>>miles;

This line calls the function that converts miles to feet and prints the feet equivalent of miles

   cout<<"You walked "<<convert(miles)<<" feet"<<endl;

This line prompts user for another conversion

   cout<<"Continue? (y/n): ";

   cin>>response;

This is an iteration that repeats its execution as long as user continue input y as response

<em>    while(response == 'y') </em>

<em>    { </em>

<em>    cout<<"How many miles did you walk?. "; </em>

<em>    cin>>miles; </em>

<em>    cout<<"You walked "<<convert(miles)<<" feet"<<endl; </em>

<em>    cout<<"Continue? (y/n): "; </em>

<em>    cin>>response; </em>

<em>    } </em>

   cout<<"Bye!";

8 0
3 years ago
Moore’s law refers to?
puteri [66]

Answer:

Moore’s law states that processor speeds, or overall processing power for computers will double every two years.

Explanation:

  • Moore’s law is more than an observation than a law which was originated in 1970. The observation is about the number of transistors that is present in any system or an integrated system that will be doubled every couple of years.
  • The real-world application of Moore's law can be seen during computing your business taxes, piloting a spaceship, or changing the television station, etc.
7 0
2 years ago
Considering the traffic problem, do you think Rod handled the situation well?
svet-max [94.6K]
No he did not that was a poor choice.
7 0
3 years ago
A DSS8440 server is equipped with one power supply that is failing and requires replacement. What is the correct sequence of ste
Alisiya [41]

Answer:

ICICI oxidized sicken o'clock o'clock succinct

6 0
2 years ago
Specific Instructions
Goryan [66]

In the most common use of the term, a class can be seen as a blueprint used to create objects. In other words, object(s) are created from a class in Java.

<h3>Creating a Class</h3><h3>Code:</h3>

import java.util.*;

class Card{

 private String suit;

 private int value;

 public Card(String s,int v){

   suit = s;

   value = v;

 }

 public String getSuit(){

   return suit;

 }

 public int getValue(){

   return value;

 }

 public void display(){

   System.out.println(value+"("+suit+")");

 }

}

class Deck{

 private ArrayList<Card> deck;

 private ArrayList<Card> drawn;

 public Deck(){

   deck = new ArrayList<Card>();

   drawn = new ArrayList<Card>();

   String[] arr = {"Club","Spade","Heart","Diamond"};

   for(String s : arr){

     for(int i=1;i<=13;i++){

       deck.add(new Card(s,i));

     }

   }

 }

 public void draw(){

   drawn.add(deck.get(0));

   deck.remove(0);

 }

 public void draw(int N){

   if(N > deck.size()){

     N = deck.size();

   }

   for(int i=0;i<N;i++){

     draw();

   }

 }

 public void showDrawn(){

   for(Card c : drawn){

     c.display();

   }

 }

 public void shuffle(){

   Collections.shuffle(deck);

 }

 public void restore(){

   restore(drawn.size());

 }

 public void restore(int N){

   if(N > drawn.size()){

     N = drawn.size();

   }

   for(int i=0;i<N;i++){

     deck.add(drawn.get(0));

     drawn.remove(0);

   }

 }

 public void showDeck(){

   for(Card c : deck){

     c.display();

   }

 }

}

class Test{

 public static void main(String[] args){

   Deck d = new Deck();

   System.out.println("Original deck\n");

   d.showDeck();

   d.draw(8);

   System.out.println("\nDeck after drawing 8 cards\n");

   d.showDeck();

   d.shuffle();

   System.out.println("\nDeck after shuffling\n");

   d.showDeck();

   d.restore();

   System.out.println("\nDeck after restoring cards\n");

   d.showDeck();

 }

}

<h3>Test Output:</h3>

C:\Users\hp\Desktop>java Test

Original deck

1(Club)

2(Club)

3(Club)

4(Club)

5(Club)

6(Club)

7(Club)

8(Club)

9(Club)

10(Club)

11(Club)

12(Club)

13(Club)

1(Spade)

2(Spade)

3(Spade)

4(Spade)

5(Spade)

6(Spade)

7(Spade)

8(Spade)

9(Spade)

10(Spade)

11(Spade)

12(Spade)

13(Spade)

1(Heart)

2(Heart)

3(Heart)

4(Heart)

5(Heart)

6(Heart)

7(Heart)

8(Heart)

9(Heart)

10(Heart)

11(Heart)

12(Heart)

13(Heart)

1(Diamond)

2(Diamond)

3(Diamond)

4(Diamond)

5(Diamond)

6(Diamond)

7(Diamond)

8(Diamond)

9(Diamond)

10(Diamond)

11(Diamond)

12(Diamond)

13(Diamond)

<h3>Draw action:</h3>

9(Club)

10(Club)

11(Club)

12(Club)

13(Club)

1(Spade)

2(Spade)

3(Spade)

4(Spade)

5(Spade)

6(Spade)

7(Spade)

8(Spade)

9(Spade)

10(Spade)

11(Spade)

12(Spade)

13(Spade)

1(Heart)

2(Heart)

3(Heart)

4(Heart)

5(Heart)

6(Heart)

7(Heart)

8(Heart)

9(Heart)

10(Heart)

11(Heart)

12(Heart)

13(Heart)

1(Diamond)

2(Diamond)

3(Diamond)

4(Diamond)

5(Diamond)

6(Diamond)

7(Diamond)

8(Diamond)

9(Diamond)

10(Diamond)

11(Diamond)

12(Diamond)

13(Diamond)

<h3 /><h3>Shuffling action:</h3>

12(Diamond)

8(Spade)

4(Spade)

6(Diamond)

10(Spade)

13(Club)

7(Heart)

13(Heart)

7(Diamond)

9(Heart)

11(Diamond)

5(Heart)

8(Diamond)

9(Diamond)

3(Spade)

13(Spade)

4(Heart)

2(Heart)

3(Heart)

5(Diamond)

11(Heart)

11(Club)

10(Club)

9(Club)

3(Diamond)

4(Diamond)

6(Spade)

9(Spade)

10(Heart)

11(Spade)

5(Spade)

12(Spade)

1(Spade)

6(Heart)

12(Heart)

13(Diamond)

1(Heart)

2(Diamond)

1(Diamond)

7(Spade)

12(Club)

10(Diamond)

2(Spade)

8(Heart)

  • Restore action

12(Diamond)

8(Spade)

4(Spade)

6(Diamond)

10(Spade)

13(Club)

7(Heart)

13(Heart)

7(Diamond)

9(Heart)

11(Diamond)

5(Heart)

8(Diamond)

9(Diamond)

3(Spade)

13(Spade)

4(Heart)

2(Heart)

3(Heart)

5(Diamond)

11(Heart)

11(Club)

10(Club)

9(Club)

3(Diamond)

4(Diamond)

6(Spade)

9(Spade)

10(Heart)

11(Spade)

5(Spade)

12(Spade)

1(Spade)

6(Heart)

12(Heart)

13(Diamond)

1(Heart)

2(Diamond)

1(Diamond)

7(Spade)

12(Club)

10(Diamond)

2(Spade)

8(Heart)

1(Club)

2(Club)

3(Club)

4(Club)

5(Club)

6(Club)

7(Club)

8(Club)

You can learn more about creating a class here brainly.com/question/10410845

6 0
2 years ago
Other questions:
  • I want to customize my company's logo, name, address, and similar details in all my business documents what option should use?
    12·1 answer
  • The process of engineering design typically starts with what ?
    12·1 answer
  • Halp Computer Science
    12·2 answers
  • Which of the following does not represent the function of a Variable? Variables store data in memory; this data has limited use
    8·1 answer
  • How do I modify objects in power point 2016 for an assignment
    11·1 answer
  • When you pass a double variable to a method, the method receives ______.a) a copy of the memory addressb) the reference of the v
    12·1 answer
  • What are 3 examples of a idler gear in real life?
    7·1 answer
  • 8.10 quiz edhesive A swap is: a variable used to find the smallest value in an array an algorithm used to find a value in an arr
    12·1 answer
  • Rideshare companies like Uber or Lyft track the x,y coordinates of drivers and customers on a map. If a customer requests a ride
    5·1 answer
  • In object-oriented analysis, an object is a member of a(n) _____, which is a collection of similar objects.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!