2. Open Visual Studio IDE. 3. Create new project and named the project as GreetingApp and the class GreetingProgram. 1. Create a console program that will ask the user to enter his/her name, number of enrolled course the price of his/her favorite book. Display the entered information. 5. See Figure 1 of example output. Enter your name: Jess Diaz Enter the total number of your enrolled courses: 9 Enter the price of your favorite book: 512.75 Name: Jess Diaz Total enrolled courses: 9 Pnice ofE my favonite book: F12 -5
Q: Write a Bash script that removes all zero length ordinary files in the directory (including those in...
A: Step 1 The answer is given in the below step
Q: Extend DATAVIEW to support some blockchain features, such as the support of Metatask, a new token to...
A: Blockchain can enable Universal Basic Income, (UBI) through a system like Circles, or power local cu...
Q: Define the term "virtual machine" and explain why it is necessary.
A: According to the question virtual machine is the virtual clone of operating system those run on diff...
Q: program on matlab to load any DNA sequence of your choice from any database. The code should be able...
A: Below i have answered:
Q: When a servlet accepts a call from a client, it receives two objects. What are they?
A: The Answer is in Below Steps
Q: Write a complete program that consists of the main function that will call 4 user-defined functions....
A: logic:- To repeat users calculation, use while(1) loop and in one of choice put break. Use two fun...
Q: Explain how NTFS manages sparse files. (To get the solution to this query, you must visit the Micros...
A: NTFS Sparse Files (NTFS5 as it were)A meager record has a quality that causes the I/O subsystem to d...
Q: What is the expansion of acronym DBS?
A: We need to find what is the expansion of the acronym DBS or the full form of the acronym DBS in the ...
Q: Consider the following linear system of equations: 6x – 2 y - 3z = 10 -x + 6 y + 4z = 9 3x + 2y + 10...
A: Given The answer is given below
Q: Write a program in python to get the lossing probability after taking the winning probability from t...
A: Required:- Write a program in python to get the lossing probability after taking the winning probabi...
Q: Who made the hybrid computer?
A: Who made the hybrid computer?
Q: s Ubuntu based on a different Linux distribution than Red Hat?
A: Introduction: Ubuntu uses the APT and DPKG package managers from Debian.
Q: here are four levels of input and output in a computer system. Which level is the most general and s...
A: answer is
Q: How to Check a Computer's Processor Temperature
A: Intro While using a personal computer there are chances where we experience a spike in CPU's tempera...
Q: MATLAB write a function that takes in n array of x, y cordinates on a plane and calculates the eu...
A: The code is given below
Q: People who work for companies like banks and credit cards can easily be persuaded that the data are ...
A: Introduction: Company Officials: Company officials refer to the person who holds the highest positi...
Q: Give a CFG for the language L = {#ri#r2# .#r#|k > 2 and each r; € {a, b}* and for some i, r; = }.
A: CFG: CFG stands for Context Free Grammar. It is a formal grammar which is used to generate all possi...
Q: When it comes to security services, which protocol layer is best? Indicate whether or whether the se...
A: Introduction: Security is a service that ensures the security of systems or data transfers using an ...
Q: Write a JAVA program in which the user enters the initial velocity u, time of travel t, and the acce...
A: Required:- Write a JAVA program in which the user enters the initial velocity u, time of travel t, a...
Q: Explain why it is important that sof products are developed and deliver quickly ?
A: Explain why it is important that software products are developed and delivered quickly ?
Q: Consider the int Array below and determine the values of A and B so that Array[0] has an integer in ...
A: According to the information given:- We have to choose the correct option to satisfy the statement.
Q: OPERATING SYSTEM Briefly describe the workflow and control handoffs used to execute a system call 2...
A: According to answering policy we are allowed to answer only one question.Please resubmit the remaini...
Q: Consider the adjacency matrix below. Upload a picture (it can be hand drawn) of the adjacency list o...
A:
Q: Enter your name: Jess Diaz Enter the total number of your enrolled courses: 9 Enter the price of you...
A: I have provided C# CODE along with CODE SCREENSHOT and OUTPUT SCREENSHOT---
Q: Who made the hybrid computer
A: Computer which are based on analog and digital concepts are known as hybrid computers.
Q: Discuss two examples of information systems that you are familiar with.
A: Introduction: An information system is a collection of components used to collect, process, and anal...
Q: ouble or char) NxN array (N>=2) 2. (char) 1x5 array containing the sort instructions Output: 1. (d...
A:
Q: You will create a web application to store inventory for products. Choose your business name, logo, ...
A: Create a DbContext class and DbSet to map model classes to a database Seed data for your product ......
Q: show your work text not a picture -35 (base 10) = ____________________________ (8-bit Excess-M bi...
A: Converting -35 to base 10. -*102=0 3*101=30 5*100=5 Adding all to get Ans=3510
Q: Moore sequential circuit has one input and one output. The output should e total number of 1's recei...
A: I have answered below:
Q: Sales Data Program Create a successful running c++ program that meets the following requirements. ...
A: ************* something to note ***************In the program i had created the add function as Sup...
Q: Define the object Circle in a class, considering that the circle has a center coordinates x and y an...
A: The class can find the area (PI^2 * r) and a perimeter (2*Pl*r)
Q: (a) Show that the following grammar is ambiguous: ::= | [ ::= 0 | 1|2 |3|4|5|6|7|8 | 9 (b) Find...
A: Find the answer below to above question. I hope this will meet your requirement.
Q: In mathematics, a factorial of a number is calculated by multiplying that number by all of the succe...
A: I have written the code below:
Q: Question 5 What is the adress of ptrs[1] O No answer text provided. O No answer text provided. O No ...
A: Lets see the solution in the next steps
Q: When invoking INT 21h, which register contains the function number?
A: Answer: INT: 21 h A subdirectory may be created using the function 39h. INT: 21 h Function The curre...
Q: Write a multithreaded Java, Pthreads, or Win32 program that outputs prime numbers. The program shoul...
A: Java code that decompose the number into sum of two prime number import java.util.*;public class Ma...
Q: Create a Java application InputAndArithmetic that uses a Scanner object to do the following: 1. Ask ...
A: import java.util.Scanner;public class InputAndArithmetic{ public static void main(String[] args) { ...
Q: In C++ This exercise involves implementing the solution to the bounded buffer/readers and writers p...
A: Explanation given in step 2
Q: lease provide JAVA source code for following assignment. Please attach proper comments and read the ...
A: According to the Question below the Solution:
Q: I am working on a project to create a program containing a main() that uses a recursive function to ...
A: Python Code to implement Koch curve from turtle import * def snowflake(lengthSide, levels): if level...
Q: What are the three primary types of cloud services, as well as the AWS products that are based on th...
A: Introduction: What are the three primary types of cloud services, as well as the AWS products that a...
Q: Create a schema for removing a person from the database.
A: Introduction: We utilise the schema design approach Normalizations in a relational database to break...
Q: CPU scheduler will decide which process should be given the CPU for its execution. For this it uses ...
A: CPU Scheduling - CPU scheduling is a process that determines which process will use CPU and in the m...
Q: How do Computer Science and Computer Engineering differ from one another?
A: Both computer science (CS) and computer engineering (CE) are tech-intensive fields oriented around c...
Q: Write a C program which creates a child process to find all txt files in the root directory (i.e., “...
A: #include <sys/types.h>#include <stdio.h>#include <unistd.h>#include <sys/wait.h...
Q: Is cloud computing capable of meeting all of an organization's needs? worries regarding the company'...
A: Introduction: It is necessary to make a decision on cloud computing in order to meet all of an organ...
Q: How does the 3rd level add up to n2? I understand is there is a total of 16 branches in the 3rd leve...
A: Since it's a recurrence relation so it will be called inside the stack untill it reaches its termina...
Q: Write a python program to find the potential energy using the total energy & kinetic energy. All the...
A: The python code is given in the below step
Q: Which kind of parallelism (data or control) is optimal for SIMD? What kind of parallelism does MIMD ...
A: Question 1. Which kind of parallelism (data or control) is optimal for SIMD? What kind of parallelis...
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
- Given a certain temperature in Fahrenheit and a maximum wind velocity(speed) in Miles Per Hour, calculate and display a series of wind chillfactors from a wind velocity of 1 MPH to the maximum wind velocity in atable. The user is allowed to specify a maximum wind velocity of up to 50MPH.Create a project and class in BlueJ named Project2.In main(), your program should prompt the user to enter the currenttemperature and use a Scanner object to store it in a double variable. Thenthe user should be prompted to enter the maximum wind velocity and usethe Scanner object to store it in an integer variable.If the maximum wind velocity is greater than 1 AND less than or equal to50, do the following:• Display the first line of the table with column headers for the currenttemperature, the wind velocity (speed), the calculated wind chillfactor, and what the temperature actually feels like. You will need touse the \t escape sequence to put spacing between the columns.• Within a for loop, call a…The homework needs to be in Visual Studio :1)Where in the text box you can add by the button Add.2)Where you can open (by the button Open ) a file dialog by selecting a text file and all the contents should be display in the multiline box.3)Where you can save like a .textfile (by the button Save) a file dialog which all contents are in multiline box .Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local Create a new project named LabExer8. Set the project location to your own Construct import statements to use the packages listed below: swing awt awt.event Extend the JFrame class and implement the ActionListener Create a JMenuBar named mainBar and two (2) JMenu objects named menu1 and menu2. Set the text of menu1 as File and the text of menu2 as Event Type. Create the items that will appear in the The File menu shall contain an Exit submenu. Name the object exit. The Event Types menu shall contain two (2) submenus: Adult and Child. Name the objects adult and child, respectively. The Adult submenu shall consist of: Birthday (adultBday), Anniversary (anniv), Retirement (retirement), and Other (adultOther). The Child submenu shall consist of Birthday (childBday), and Other (childOther). Declare several other components that will be used in the Create two (2) JPanel objects named currentPanel and otherPanel.…
- Laboratory Exercise Guessing Game 2 Objective: At the end of the exercise, the students should be able to: Create a simple game that exhibits file input and Software Requirements: Latest version of NetBeans IDE Java Development Kit (JDK) 8 Procedure: Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local Create a new project named LabExer6A. Set the project location to your own Create a simple guessing game (similar to Hangman or Hangaroo). In this game, the user guesses a letter and then attempts to guess the Create a Notepad file named txt which will store any number of words each written per line. The Java program shall: randomly select a word from the list saved in txt; display a letter in which some of the letters are replaced by ?; for example, ED??A??ON (for EDUCATION); place the letter in the correct spot (or spots) in the word each time the user guesses a letter correctly; inform the user if the guessed letter is not in the word; and…omputer Science What is happening between the two comments labeled POINT A and POINT B? Write a brief description at the bottom of your lab3/lab3.txt file. What happens if you compile the code and run it without any command line arguments? Explain what happens and why at the bottom of your lab3/lab3.txt file. Update the code to include a check after the call to malloc to verify that memory was successfully allocated (and call exit(0) if it was not). Rewrite the code between the two comments labeled POINT A and POINT B to use realloc. Include a check to verify that memory was successfully allocated as you did with malloc in the previous step. #include <stdio.h>#include <stdlib.h>#include <ctype.h> void print_int_array(int* a, unsigned size, char* name) {for (unsigned i=0; i<size; i++) {printf("%s[%d]=%d\n",name,i,a[i]);}} int main(int argn, char *argv[]) { // pretend initial_size came from user input (ie. not known ahead of time)int initial_size =…Any help is appreciated, I was able to complete the the first part about login but I am not sure how to load movies and ratings into table view Using GUI and Javafx Instructions: 1) Complete the login to read from the file and match with the correct username and password 2) Switch to the secondary screen 3) Load the Movies and the ratings associated with them to Table in the GUI This is what I have Log in class: import java.io.FileNotFoundException;import java.io.IOException;import java.util.ArrayList;import javafx.event.ActionEvent;import javafx.fxml.FXML;import javafx.scene.control.Button;import javafx.scene.control.Label;import javafx.scene.control.PasswordField;import javafx.scene.control.TextField; public class PrimaryController { public static int counter = 0; @FXML private TextField txtUserName; @FXML private Button btnLogin; @FXML private Label lblErrorMsg; @FXML private PasswordField txtPassword; private void switchToSecondary() throws…
- The other half is in the photos Read the paint program below carefully and complete the source code paint.cpp by: 1. write function “myInit” of your own where you must a) setup viewport, b)set clear color to black and clear window, and c) setup matrix mode and viewing 2. Create your right menu containing the following submenus and main entries: a) color menu with eight entries “Red”, “Green”, “Blue”, “Cyan”, “Magenta”, “Yellow”, “White”, and “Black” b) pixel menu with two entries “Increase pixel size” and “Decrease pixel size” c) fill menu with two entries “Fill on” and “Fill off” d) two main entries “clear” and “quit” 3. Compile and run the program. Your complete program must be able to draw line segments, rectangles, triangles, pixels with specified color. It must also be able to accept keyboard input and display the text on the screen when work in text mode. /* paint.cpp */ #define LINE 1 #define RECTANGLE 2 #define TRIANGLE 3 #define POINTS 4 #define TEXT 5 #include…1. Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive.2. Create a new project named LabExer8. Set the project location to your own folder.3. Construct import statements to use the packages listed below:• javax.swing• java.awt• java.awt.event4. Extend the JFrame class and implement the ActionListener interface.5. Create a JMenuBar named mainBar and two (2) JMenu objects named menu1 and menu2. Set thetext of menu1 as File and the text of menu2 as Event Type.6. Create the items that will appear in the menus. The File menu shall contain an Exit submenu. Namethe object exit. The Event Types menu shall contain two (2) submenus: Adult and Child. Name theobjects adult and child, respectively. The Adult submenu shall consist of: Birthday (adultBday),Anniversary (anniv), Retirement (retirement), and Other (adultOther). The Child submenu shallconsist of Birthday (childBday), and Other (childOther).7. Declare several other components that will be used in the program.…in java but don't write as a GUI (Graphical User Interface) Write a program that reads a file named input.txt and writes a file that contains the same contents, but is named output.txt. The input file will contain more than one line when I test this and so should your output file. Do not use a path name when opening these files. This means the files should be located in the top level folder of the project. This would be the folder that contains the src folder, probably named FileCopy depending on what name you gave the project. Do not use a copy method that is supplied by Java. Your program must read the file line by line and write the file itself. Class should be named FileCopy do not write to input.txt!
- C++-OOP Can you write the code without .txt file? Just display the output on windows console. Write the code like following form: class A{} class B{} class C.public A { .... .... B objB; friend input (); } int main(){ C objC[30]; cin... cin... Input(...) objC[0].display; } Thank you.Code in phyton ! For project 2 you will create a quiz game similar to “Who Wants to be a Millionaire?”, or “Jeopardy”. However, the game should be completely your own and not like any that are currently on the internet. Requirements: Your game will include 10 questions (minimum). Please choose a single category to make all of the questions about. These questions and the 4 or 5 possible answers must be read in from a text file.The correct answers must also be read in. You will ask the user multiple-choice questions (in increasing difficulty). Each question, if answered correctly, will have a point value attached to it. The point values should be as follows: from 100 -to 1000. You may apply negative points for questions wrong if you want to in your game. The score will be an accumulation of the points earned throughout the game and the user may continue even if he/she answers incorrectly. Show the user’s point total after each question is answered. Include a text file called…Compile (debug), run and modify a program from an existing file a. Download from Avenue | Assessment | Lab report L1 the file P1_1.cpp and copy its content to the clipboard b. start Visual Studio, open a new project, and paste the code from the clipboard in the newly created .cpp file c. compile the code; are the result reasonable? d. rewrite the statement that calculates the interest using a compound assignment operator (see Lecture 1, page 5) and compile the p rogram; did you get the same output? e. substitute all end line strings “\n” with << endl and compile the code; did you get the same output? f. initialize nine float variables with values containing 2 to 6 digits (each one different) and display these values on three rows and three columns using a space between them (hint: use single quotes). How are the columns aligned? g. repeat (copy and paste) the previous display and substitute each space that separates the values printed on the screen with a horizontal tab (hint:…