Categories
Java

For your first assignment, you will generate a non threaded, sequential program.

Hello,
Please write a program as per given instructions attached in word document
For your first assignment, you will generate a NON THREADED, SEQUENTIAL program. This Sequential program will greet the user with a menu. For now, the menu will have an introduction and a single option. It should look like the following:

Categories
Java

// created: spe 15, 2022

,m the whole description of the problem is attached
this is Material needed:
// *************************************
// Class: CostCalculator
// Author:
// Created: Spe 15, 2022
// Modfied:
//
// Purpose: Calculates costs of truck trips
//
// **********************************************
public class CostCalculator {
public static void main(String args) {
//Parameters for truck 1
int truck1Capacity = 30;
int truck1FuelBurn = 50;
int truck1Cost = 10000;
//using if else and the totalCosts function find and return the best
truck
}
public static int totalCost(int capacity, int fuelBurn, int vehicleCost) {
return vehicleCost + fuelCosts(fuelBurn, numTrips(capacity));
}
public static int fuelCosts(int fuelBurn, int numTrips) {
//calculate fuel costs here
return 0;
}
public static int numTrips(int capacity) {
//calculate number of trips here
return 0;
}
}

Categories
Java

Could we go over this together?

Hello, I need help with Recursion
StringPermutation, StringToDecimal, DecimalToBinary
could we go over this together?

Categories
Java

To solve problems using standard data structure library of a major programming language (e.g. java.util).

Purpose:
To identify and apply basic techniques of algorithm analysis.
To write programs using recursive methods.
To solve problems using standard data structure library of a major programming language (e.g. java.util).

Categories
Java

See example below.

Write a UML diagram for a Java class of your choosing. See example below. Post this diagram in a discussion board entry.

Categories
Java

The program should also include a loop that allows the user to run the program without exiting until a certain character is entered.

Learning Goal: I’m working on a java project and need support to help me learn.
Write a Java program that finds the sum of all prime numbers between 0 to the number entered by the user via the keyboard. If the number is x not prime, it should print “x not prime” otherwise print “x is prime, added”. Later print the sum at the end of the program. The program should also include a loop that allows the user to run the program without exiting until a certain character is entered.

Categories
Java

Phase 3

Learning Goal: I’m working on a java exercise and need a sample publish to help me learn.
Problem Statement
Code a Java program to display the daily menu special for a restaurant.
Remember to backup your program before you begin each phase.
Phase 1
Use a showInputDialog() box to ask the user to enter a day of the week. Ex. Friday
Convert the text they enter into all uppercase
Use a SWITCH/CASE statement to evaluate the day
Display a special menu item and the price to the user (you can make one up for each day).
Hold the item price of in a variable, you will need this in phase 2.
Phase 2
Monday thru Thursday customers get a free dessert with any entrée over $12.99
Create this logic AFTER your Switch statement
Use a nested IF for this logic
Tell the user if they are entitled to a free dessert
Phase 3
Add loop logic, of your own choosing
Use ++ to increment a counter to track the number of loops executed
Phase 4
Display an image of a dessert, when the user gets a free dessert
Sample Run
Hola – Bienvenidos a Tim’s Taco
Enter the day of the week
Monday
TODAY’S SPECIAL: 3 Tacos and a drink
$13.95
You get a FREE dessert…..Bueno!

Categories
Java

Learning goal: i’m working on a java project and need an explanation and answer to help me learn.

Learning Goal: I’m working on a java project and need an explanation and answer to help me learn.
Tourism development is an important driver of growth for the future of Saudi Arabia. It is one of the key pillars at the heart of Vision 2030’s plan to help diversify the economy and reduce reliance on oil.
The Saudi Tourism Authority is the official promoter of Visit Saudi. The Authority was established to support the growth of the travel and tourism sector. It developed VisitSaudi.com for information on Saudi Arabia’s diverse and fascinating tourism offer. You can easily discover events all around the kingdom from the Saudi Calendar.
Assuming that you are working on the back-end of this website, you will write a java program to store events’ data and process various requests. Your Java program should do the following:
Read the data from a text file and store it in a linked list (2 points)
Print all events around the kingdom (1 point)
Filter events by Date, City, Category, Audience or Fees (3 points)
Add, Remove or Edit an event (3 points)
Search for an event by name fully or partially (1 point)

Categories
Java

Learning goal: i’m working on a java question and need guidance to help me learn.

Learning Goal: I’m working on a java question and need guidance to help me learn.
Full instructions about the assignment is attached in the link
https://docs.google.com/document/d/1wfbP-inZZAx695…

Categories
Java

Avoid plagiarism

Learning Goal: I’m working on a java multi-part question and need an explanation and answer to help me learn.
Avoid plagiarism
Answer the same file, under each question, write the answer
Avoid plagiarism
Write the references
The instruction file must be read carefully and it is a separate file
* Avoid plagiarism
Avoid using paraphrasing programs or websites
• Avoid copying from any source
• Avoid old site files for other teachers
• You must provide a correct, unique and new solution without plagiarism
• Sources should be written in APA style