[solved] – Question 70733
Write a servlet that lets a user vote for his favorite food from a combo box or radio Buttons . Store the favorite foods and the number of votes for each food. Please note that a user from one IP address can vote only once. Display all foods and their number of votes in alphabetical order back to the user. Use an appropriate Collection class or Map class to store the data.
Expert Answer
[solved] – Question 70755
hello finders
i am a beginner at c++ and i went to do this code Necessary but i couldn’t
can anyone help me ?
requirements :
declare two 2*2 matrices and the elements of this matrices should assigned by user .
create a class calld result and this class have one attribute called mult .
Define a function called multiplication_matrices which received two matrices data and returns the multiplication value of these two matrices. The value returned by multiplication_matrices should be kept by attribute mult which declared in class result.
Expert Answer
[solved] – Question 70760
If there is a space to park the vehicles then some n number of vehicles are parked there and
then count how many are of cars, and how many of are scooters and note the arrival time
and the departure time, display the order of parked vehicles, and the color of vehicle, if he
wants to take the vehicle from the parking he has to tell the number of vehicle if the
number is wrong he can’t able to take the vehicle from parking in that case he has to tell
the car model and the color of vehicle and also the rc book of vehicle and also he has to
calculate the parking fees based on time he kept.
Expert Answer
[solved] – Question 70776
2:again with the column names they should be singular rather than plural, for example StudentCourse not StudentCourses, this will suggest multiplicity and be confusing for the user same should be said for spaces between words and the use of special characters, these too are bad practices.
3: databases without proper documentation for users are also bad practice, so make sure to give ER schemas so users could follow the integrity of data.
Expert Answer
[solved] – Question 708
I need to create a file in java. However there’s errors in my output. Could you please help me out?
import java.io.*;
/**
* Write a description of class CreateFile1 here.
*
* @author (your name)
* @version (a version number or a date)
*/
public class CreateFile1
{
public static void main(String[] args)throws IOException
{
File f;
f=new File(“C:MyFile.txt”);
if(!f.exists()){
f.createNewFile();
System.out.println(“New file”+ “C:MyFile.txt”+” has been created to the current directory”);
}
}
}
Expert Answer
[solved] – Question 70810
public class Polynomial {
private static class TermNode{
private double coefficient;
private int exponent;
private TermNode next;
public TermNode(int exp, double coeff, TermNode nextTerm )
{
coefficient= coeff;
exponent = exp;
next = nextTerm;
}
}
private TermNode first;
public Polynomial() {
first = new TermNode(0,0, null);
}
public Polynomial(double a0)
{
first = new TermNode(0,a0,null);
}
public Polynomial(Polynomial p)
{
first = new TermNode(p.first.exponent, p.first.coefficient, p.first.next);
}
public void add_to_coef(double amount, int exponent) {
first = new Termnode(
}
public String toString() {
}
return s;
This is showing errors I am not able to implement it properly
Expert Answer
[solved] – Question 70813
TO DO WEB BASED APPLICATION
You are required to create a web-based ToDo application using:-
1.Front-end:-
oHTML
oCSS
oJavascript
2.Back-end:-
oPHP
oMySQL
This ToDo web-based application should have the following features:-
1.A login page for user to log into the application.
2.A Registration page for new user to register to the application.
3.Create, Retrieve, Update and Delete the ToDo list.
4.All ToDo information to be stored in a database.
5.Allow multiple user to use the same application.
6.A user can only create, retrieve, update and delete his/her own ToDo list.
Expert Answer
[solved] – Question 70825
How can the general tree (a b c d e f g) be represented as a binary tree with left=child, right=sibling?
Expert Answer
[solved] – Question 70858
Write a servlet that snoops all the information about the current session. Make a “registration” form that collects a first name, last name, and email address. Send the data to a servlet that displays it. Next, modify the servlet to use a default value in form(or give an error message) if the user omits any of the three required parameters.
Expert Answer

