196 Answered Questions for the topic Computer

Computer Computer Science

1d

Computer Science question

Given two variables iVal and fVal, containing respectively an integer and a float value, write a statement that writes both of their values to standard output in the following format: i=iVal... more

How to activate VRAM

when i play games my vram is 0% please help it was 128mb i made it 512mb but not enough i have 2gb vram and only use 512mb of it?

C Programming Question

Write a program in C to count total number of vowel (a,e,i,o,u).Sample Run:Enter string1: cngcourseTotal number of vowels: 3

Why is my visual studio c# code not working on .net fiddle c# compiler?

Here is my code. It should ask the user and let it input.The compiler is called dotnetfiddle.netI can't submit from any other compiler. Please fix the problem in code if needed.using System;class... more

05/21/21

CREATE A C# PROGRAM.

Research a rule called "Zeller's Congruence". This rule provides a complex formula that can be used to determine what day of the week any particular date occurred. For example, if the user entered... more

05/20/21

I Don't know where to add this array. I keep getting errors. Please help me.

I want to add this: String [] strs = { "Fortune for Sunday","Fortune for Monday","Fortune for Tuesday","Fortune for Wednesday","Fortune for Thursday","Fortune for Friday","Fortune for... more

05/20/21

Your program should use Zeller's rule to output the day of the week any date occurred and for each weekday, output a proverb, fortune, piece of wisdom, etc....

I have everything but just need the fortunes. For example, "Tuesday's child is full of grace.".Please help me add them to my code.Here is the code:using System;class dttimeex57{ static void... more

Create a program should use Zeller's rule to output the day of the week any date occurred and for each weekday, output a proverb, fortune, piece of wisdom, etc.

I am creating a Zeller's program but not sure how to. Please help me out.Research a rule called "Zeller's Congruence". This rule provides a complex formula that can be used to determine what day of... more

Swap Ends. The existing code reads in a size to NUM_VALUES, makes an array called values

The existing code reads in a size to NUM_VALUES, makes an array called values (I am cheating... do not make variable sized arrays!), and then reads in values for it. Your task is to swap the first... more

Declare an array.

Declare an array of 5 doubles called values - initialize it with 1.6, 3.1, 8.3, 9.1, 4.8Code:#include <iostream>#include <iomanip>using namespace std;int main(){ const int NUM_VALUES... more

Square Array. The existing codetries to make use of a function void squareArray(const int array[], int destination[], int size).

The existing codetries to make use of a function void squareArray(const int array[], int destination[], int size). This function should take each of the size elements from array, square the... more

write an Algorithm, not a code

"NOTE: write an algorithm, not a code"You are given a file called “std” and composed of “Number, Name, Address” fields/attributes. (You can define the type of fields by yourself) Write... more

Will this result in syntax error? for the same array as the below question, int [] salaries = {20,95, 77,56, 83} the statement salaries[5]=100

Will this result in syntax error?for the same array as the above question,int [] salaries = {20,95, 77,56, 83}the statement salaries[5]=100This will result in what if not syntax error?(((Given an... more

Given an array declaration of salaries in thousands of dollars, int [] salaries = {20,95, 77,56, 83} The a=index at which the salary 56 is found is

Given an array declaration of salaries in thousands of dollars, int [] salaries = {20,95, 77,56, 83}The a=index at which the salary 56 is found is

Is it True That; Here is a program that tries to change the value of one the element of an array by passing the array to a changeNames method:

Here is a program that tries to change the value of one the element of an array by passing the array to a changeNames method:Is This True? The output of this program is[Alison, Biance, Cody,... more

 Is the following TRUE? Given the following quadrant method below: This method returns which quadrant of the x/y plane this Point object falls in?

Given the following quadrant  method to the Point class: public class Point { private int x; private int y; public int quadrant(){ if (x >0) return 1 if (x<0) return 2; if (y>0)... more

Write a main program in a class called SquareMain.java that instantiates two square objects called s1 and s2.

Write a main program in a class called SquareMain.java that instantiates two square objects called s1 and s2.Perform the following actions on s1 and s2 using methods of the Square classCreate s1... more

Here is a UML diagram for a geometric figure, the Square. Use this diagram to write a class called Square.java that contains the instance variables and instance methods given below:

Here is a UML diagram for a geometric figure, the Square. Use this diagram to write a class called Square.java that containsthe instance variables and instance methods given... more

Write method to calculate Stimulus Amount. name: calculateStimulus, Parameters; Integer Array called Ages that contains ages of people &return type: void& works for any array size

Write the method to calculate Stimulus Amount:        Method name: calculateStimulus       Parameters:  Integer Array called Ages that contains ages of people       Return type: void        Logic:... more

Tag Remover. Read in a string that may have spaces (use getline!).

Read in a string that may have spaces (use getline!). In the string will be something that looks like [TAG]text inside tag[/TAG] where TAG can be any string. Print out the TAG, a colon, and the... more

Sher. Write a word shortener.

Write a word shortener. Read in a string (you may assume no spaces). If it is 4 characters or less, print it back out. If it is more than 4 characters, print just the first two followed by the last... more

Caturday Check. Read a string (will not have spaces).

Read a string (will not have spaces). Print "true" if the word "cat" appears starting at the first or second letter. Otherwise print false.Samples: Input: catch Output: true Input: scatter ... more

First Middle Last Letter. Read in a string from cin (it will not have any whitespace).

Read in a string from cin (it will not have any whitespace). Print out the first character, middle character (if string is an even length, print the second of the two middle letters), and last... more

All To Upper. Read a string from cin into word and modify it so that it has all uppercase letters.

Read a string from cin into word and modify it so that it has all uppercase letters.Samples: Input: hello Output: HELLO Input: h3Llo Output: H3LLO Hints: You can only change the code in the... more

String Compactor. Write code that will read in a string and then print out every other character of the string.

Write code that will read in a string and then print out every other character of the string. You should use getline to read in the string... it may have spaces.Samples: Input of "Hello" should... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.