Comment

hide
please,
April 13, 2010 at 2:16 AM

An instructor need a system that calculate student grad base on their
Three score test 1, test 2 and final exam input file contain student
ID and three score as show in the example below;
A12315 67 45 60
A12326 80 35 90
A12337 67 75 73
Letter grad for each student grad is given average score G;
80-100 A
65-79 B
55-64 C
40-45 D
0-39 E
Average score for student is computed
Using this formula;
=.20*test1 +0.30*test2+0.5*final.
The program should save output into a file that consists of student ID, average
A score and letter grad as show in sample below;
A12315 56.9 C
A12326 86.5 A
A12337 72.4 B



What is value of each element alpha after the following code execute
Int alpha [5];
Int j;
Alpha [0]=5;
For (j=1;j<5;j++)
{
If (j%2==0)
Alpha [j] = alpha [j-1] +2;
Else
Alpha [s] = alpha [j-1] + 3;




Last one


Consider code below, what are the outputs after the following statement
Execute;
#include <oistream>
Void print (int value [ ], int size)
{
For (int I = 0; I < size ; I++ )
Cout<<++value [i]<<” ”;
Cout<<endl
}
Void main ( )
{
Int score [5] = {1,2,3,4,5}, size TS =5;
Print (score, size TS);
For (int I = 0 ; I < size TS ; I++)
Cout<<++score [i]<<” ”
}




….



View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Technology What is?

What is Wi-Fi?
What is Wi-Fi?       Wi-Fi, the abbreviation of  wireless fidelity is a  wireless... are called Wi-Fi system. This networking system was developed by the Institute 

Technology

Wi-Fi as a part of LBS
Wi-Fi as a part of LBS       Wi-Fi Positioning System (WPS) uses wireless fidelity network instead... positioning system. There are several Wi-Fi positioning software available that uses 

General

Ask Wi-Fi Questions Online
Ask Wi-Fi Questions Online       The term Wi-Fi stands for wireless.... The Wi-Fi technology uses radio waves usually a bandwidth of 2.4 GHz 

Technology

Wi-Fi Security for Public Networks
Wi-Fi Security for Public Networks       Introduction Wi-Fi hotspots present a unique set of security problems, quite different from the security issues involved in home and office 

Vehicle Tracking Technology

Will WiMAX Compete with Wi-Fi?
Will WiMAX Compete with Wi-Fi?     ... in complementary roles. Role of Wi-Fi Wi-Fi technology is widely available currently and this is a big advantage. Wi-Fi is commonly used in public places like hotels 

General

Ask Wimax Questions Online
a bandwith of up to 10Mbps with a range of up to 80km, It is the successor to Wi-Fi... wireless broadband access. Like Wi-Fi, WiMAX data rates are easily supported 

Ajax

OpenWiFiSpots - Free WiFi Hotspot FInder
OpenWiFiSpots - Free WiFi Hotspot FInder       OpenWiFiSpots is a comprehensive directory of free wireless (Wi-Fi) hotspots with an easy to use interactive mapping system that allows you 

iPhone

Apple's iPad? The Lowdown On One Of The Most Anticipated Devices In Its Class
Weight (Wi-Fi only): 1.5 pound Weight (Wi-Fi and 3G): 1.6 pounds... that featured both Wi-Fi and 3G. by having a quick look over the specifications you... convenient to cart around than a laptop. Since the iPad is fitted with Wi-Fi you 

WebSevices Questions

wifi problem
wifi problem   iam used for wi-fi many site was bloacked but net was speed.am install ultrasurf software my wi-fi was very slow. why 

WebSevices Questions

wifi problem
wifi problem   iam used for wi-fi many site was bloacked but net was speed.am install ultrasurf software my wi-fi was very slow. why 

Java Beginners

what is the example of wifi in java
what is the example of wifi in java  i want wi fi programs codings 

Java Beginners

java please please help
java please please help  Dear Friends plz help me to complete this program import java.util.*; public class StringDemo { static String a="{a=100;b=200;c=300}"; public static void main(String args 

Java Beginners

please help
please help  please send me the code of dynamic stack in java without using the built in functions 

Java Beginners

Define please!?!
Define please!?!  What is tree map sort 

Java Beginners

urgent...pleAse help me.....please!
urgent...pleAse help me.....please!  please help me urgent! how can i do dictionary with the use of array code in java, where i will type the word then the corresponding meaning for that word will appear...thanks 

Java Beginners

Please Help
Please Help  How do I create an attribute that represents the following: A grayscale ‚??color‚?? value, that is, an integer between 0 and 255 inclusive, where 0 corresponds to the darkest black and 255 to the brightest white 

Java Beginners

Please Help
Please Help  How do I create an attribute that represents the following: A grayscale 'color' value, that is, an integer between 0 and 255 inclusive, where 0 corresponds to the darkest black and 255 to the brightest white 

Java Beginners

Please help
Please help  Problem: Write a program that does addition, subtraction, multiplication and division operation on real numbers. The operation started with a user entered 2 numbers and click one of the operation buttons 

Java Beginners

Please help
Please help  Problem: Write a program that does addition, subtraction, multiplication and division operation on real numbers. The operation started with a user entered 2 numbers and click one of the operation buttons 

Java Beginners

please help//
please help//  Number square cube 1 1 1 3 9 27 5 25 125 7 49 343 9 81 729 total 165 1225 ‚?? this is the ouput..;;; i 

Java Beginners

please help//
please help//  Number square cube 1 1 1 3 9 27 5 25 125 7 49 343 9 81 729 total 165 1225 ‚?? this is the ouput..;;; i 

Java Beginners

please help//
please help//  Number square cube 1 1 1 3 9 27 5 25 125 7 49 343 9 81 729 total 165 1225 ‚?? this is the ouput..;;; i 

Swing AWT

please help
please help  public class AllContact extends javax.swing.JFrame { /** Creates new form AllContact */ public AllContact() { initComponents(); try{ Connection1 con =new Connection1(); Connection conobj 

Java Interview Questions

help please?
help please?  Define a class named Circle with the following properties: ‚?Ę An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both data fields 

Java Interview Questions

help please?
help please?  Define a class named Circle with the following properties: List item ‚?Ę An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both 

Java Interview Questions

help please?
help please?  Define a class named Circle with the following properties: List item An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both 

Java Interview Questions

help please?
help please?  Define a class named Circle with the following properties: List item An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both 

Java Interview Questions

help please?
help please?  Define a class named Circle with the following properties: List item An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both 

Java Beginners

Please HELPP
Please HELPP  The University wants to make a basic graphical display to show how many people received different grades for a piece of work on a module. You are required to write a program in Java that achieves this. The program 

Java Beginners

help please?
help please?  Define a class named Circle with the following properties: ? An integer data field named radius with protected access modifier, and a String data field named colour with private access modifier. Both data fields 

JSP Servlet Questions

help please
 

JSP Servlet Questions

please help me.
please help me.  How to read a properties file in java with a suitable example. Please send me. Thanks Trinath   Please visit the following link: Java read properties file 

JSP Servlet Questions

please provide the code
please provide the code   Develop a multi-client chat application 

Servlet Interview Questions

please tell me
please tell me  why we are using http protocol in servlets 

JSP Servlet Questions

please help me.
please help me.  Please send me a code of template in opencms and its procedure.so i can implement the code. Thanks trinath 

Java Beginners

please tell me
please tell me  what are the topics in core and advaced java....   Hi Friend, Please visit the following links: http://www.roseindia.net/ http://www.roseindia.net/java/ Thanks   Hi Friend, Please visit 

JSP Servlet Questions

please help me.
please help me.  Please send me the validation of this below link. the link is http://www.roseindia.net/answers/viewqa/JSP-Servlet/9584-JSP-Servlet-Search-and-Edit.html Thanks Trinath 

SQL Question

please tell me
please tell me  i have created one table,when i close and again login, table name will be there, but its content not displayed, showing as no rows selected, please tell me the reason 

JSP Servlet Questions

Please provide the code
Please provide the code   Write a program to recursively download the web pages available in the given site URL 

Java Beginners

please explain this program
please explain this program  public class MainClass { public static void main(String[] args) { System.out.println("Java 

SQL Question

please tell me
please tell me  which cmd we use to clear the screen in sql prompt 

Java Beginners

please tell me
please tell me  why we use public static main(String ar){} in java instead of main 

Java Server Faces Questions

help me please
help me please   Hello I want helping for this question , Please Write a program that reads some friends√Ę‚?¨‚?Ę names, stores them in an array, and then prints out on the screen all friends who start by a particular letter 

Java Beginners

Confusion on Functions. Help Please?!
Confusion on Functions. Help Please?!  Write a program which has a number of functions for getting the area i.e. area of circle, area of square, area... not getting anywhere with it really :( Some help please 

Java Beginners

Please help me
Please help me  program for when a user enter his card number, it has to create default security pin in the database 

JSP Servlet Questions

Please provide the code
Please provide the code   Program to find depth of the file in a directory and list all files those are having more number of parent directories 

SQL Question

please tell me
please tell me  select * from emp order by 5 desc; in the above what is the meaning of 5, and what its functionality 

JSP Servlet Questions

please help me.
please help me.  How to move the edits.jsp in below link? http://www.roseindia.net/answers/viewqa/JSP-Servlet/9584-JSP-Servlet-Search-and-Edit.html 

Java Beginners

PLEASE HELP WITH MY JAVA
PLEASE HELP WITH MY JAVA  Hey my name is Gavin and im a student... please help!!!!!!!! it is a for-loop question: Display the first 5 multiples... and average If u can please help...    

Java Beginners

help please!!! T_T
help please!!! T_T  what is wrong in this?: import java.io.*; class...("please enter your name:"); name1= input.readline(); System.out.println("please... { String name1; String name2; System.out.println("please enter 

Spring Framework Questions

java programming please - Spring
java programming please  please i want your help :-( using... information Please Enter Your Name Please Enter your current balance Please Enter the amount you want to deposit Please Enter the amount you want to withdraw 

Java Beginners

please answer me
please answer me  iam using html in select tag.in this one option i selected and that option data will be display in table.And use servlet with html and how to retrieve the data from data base 

Java Interview Questions

Please give me the answer.
"int a=08 or 09" its giving compile time error why   "int a=08 or 09" its giving compile time error why ? can any one give me the answer of this please 

Ajax Questions

Please Help Now
Please Help Now  i want to put this map in ajax oriented codeigniter website thanks in advance plz help me now plz very urgent 

JSP Servlet Questions

Please provide the code
Please provide the code   Create a file system: We just have one file on the hard disk. But we can create directories, sub-directories and files in that file only 

JSP Servlet Questions

please help me.
please help me.  I have a jsp page under that i add a list box under i get the countries through my database. so how can i do 

Java Beginners

please help me
please help me  interface Test1 { String toString(); } public class Test { public static void main(String[] args) { System.out.println(new Test1() { public String toString() { return "test 

Java Beginners

please tell me
please tell me  Actually i am working on a Project tiitle is JavaMail System, 1)How to configure java mail API and a Demo Program for Sending mail and Receiving using JSP and Servlet 

Java Beginners

Please Send - Java Beginners
Please Send  Hi, this is perfect ur sending code I want java script coding Steps:-If user click on refresh button then page iage will be refresh Thanks  Hi friend, Thanks vineet 

Java Beginners

Please explain @interface with an example
Please explain @interface with an example  Here is the code snippet: @Retention(RUNTIME) @Target({ FIELD }) public @interface InjectProperty...) private Runnable runnable; where Runnable is an interface. Could you please 

Java Beginners

Please explain @interface with an example
Please explain @interface with an example  Here is the code snippet: @Retention(RUNTIME) @Target({ FIELD }) public @interface InjectProperty... runnable; where Runnable is an interface. Could you please explain what does 

JSP Interview Questions

please help me
please help me  Dear sir, I have a problem. How to write JSP coding, if a user select a value from drop down list for example department, the another... before. This name list should get from the database. Please help me. By the way, I'm 

EJB Questions

please guide me - EJB
please guide me  Hi I am Pradeep singh ,done SCJP 5.0 and SCWCD 5.0 .Now i want to learn further .So please tell me whether should i learn EJB 3.0 or should learn Spring and Hibernate.I am confused what should i do next.Please 

Java Beginners

please help me
please help me  how to use two browse buttons, one browse button for displaying the first image and second for the second image along with its file path and also to display text file along with its path using layouts or panels 

Java Beginners

please help me
please help me  how to use two browse buttons, one browse button for displaying the first image and second for the second image along with its file path and also to display text file along with its path using layouts or panels 

JavaScript Questions

please help me...
please help me...  write an application that print number in the following order using a FOR-Loop 1 2 3 4 5 2 4 6 8 10 3 6 9 1215 4 8 121620 5 10152025 

JSP Interview Questions

need help please
need help please  Dear sir, my name is logeswaran. I have a big problem that I can't find the solution for a program. How can I block a user from enter a page second time. Please help me. By the way I'm using Access database 

JSP Servlet Questions

please help me.
please help me.  I have three table in mysql,and i hava create a excel sheet and add this sheet.but my question is in every sheet i can display one one table result.how can i do 

JSP Servlet Questions

Please help me.
Please help me.  Hi i am trinath in below there is a url.In that url there is a code of edit a jsp page.I understand that code but only one thing i not get it i.e; What is the work of "id".and what is the data type of id? http 

Hibernate Questions

Intro please - Hibernate
Intro please  Hi, Anyone please tell me why we go for hibernate? is there any advanced feature? Thanks, Prabhakaran.  Hi friend, Here is the detail information about hibernate. Read for more 

Hibernate Questions

Please explain Hibernate Sessionfactory.
Please explain Hibernate Sessionfactory.  Hi there, Please explain Hibernate session factory in detail. I have just started learning hibernate so i don't know much about it. Thanks..   Dear Friend, If you are new 

Java Beginners

please tell me
please tell me  import java.lang.Thread; class Current{ public static void main(String ar[]){ Thread t = Thread.CurrentThread(); System.out.println...(); ^ 1 error tell me the resolution please....   import 

Java Beginners

Please provide the coding for this problem
Please provide the coding for this problem  Please provide the coding for the following problem. Write a "hangman" game that randomly generates a word and prompts the user to guess one letter at a time. Each letter in the word 

Java Beginners

please tell me
please tell me  class Person{ int age; String name; void Person1(String g,int a){ name=g; age=a; } Person(String s,int i){ name=s; age=i; } void..., but its compiled and run successfully, please tell me the reason 

Java Beginners

Please can you help
Please can you help  I have a some code which uses a textarea comment box that will on post return the users text to the same page that they entered...; Please could you change the code so it will do this Please. Many thanks. Colin 

Java Beginners

C Program....PLEASE HELP
C Program....PLEASE HELP  For this assignment, you are to write a program that calculates points along a rhodonea curve, a.k.a. a mathematical rose..., and pointers. I am lost and need a little help starting please *int fillArray 

Java Beginners

please tell me
please tell me  class Person{ string name; int age; void talk(){ System.out.println("my name is"+name); System.out.println...: '}' expected ^ 2 errors, i got this error....... please tell me the resolution 

Java Beginners

New to Java Please help
New to Java Please help  Hi I need help, can some one help me with this. I am currently doing a project. drop me an email to my email address. Thanks!   If you are new in java, then you need to learn core java 

SQL Question

please solve this program
please solve this program  Build a package EMPPACK that contains one stored function Validatesal() and two stored procedures Insertemp() and Getempdetails().The Insert_emp() procedure inserts a particular employee 

Java Beginners

please help me to this problem..
please help me to this problem..  i wrote a program like keyboard and i used [JTextFiled] means that just you can write inside the program (i.e inside the JTextField) but i want to make this program to let me write where i 

Java Beginners

please - Java Beginners
please   it did run in one of my friend computer but not mine bcoz she has editor iam running my code using Dos so can you send me the softwere of a good editor thanks for ur help my email is alaa-sg@hotmail.com  

JSP Interview Questions

jsp coding please.
jsp coding please.  hi sir, my name is logeswaran. I have a problem in jsp, that i need to get value like a person name from database into drop down list. please show me how to do it? thank you. By the way, I'm using access 

Ajax Questions

PLEASE HELP CAPTCHA PROBLEM
PLEASE HELP CAPTCHA PROBLEM  how can i make the captcha refresh autometically ???? please help this is <%@ Page Language="C#" %> <%@ Import Namespace="System.Drawing"%> <%@ Import Namespace 

Java Beginners

Please help me
Please help me  Hi Sir, please send me the code for the following progrems... 1) all sets are integer type: input: set1={10,20,30,40} set2={15,25,35} output: union={10,15,20,25,30,35,40} 2) input: "Hi what 

Java Beginners

please tell me
please tell me  class Sample{ private double num1,num2; void sample(double x,double y){ num1=x; num2=y; } void Sum(){ double result=num1+num2...(10.6,20.0); ^ 1 error, please tell me the resolution for this...    

Java Beginners

please tell me
please tell me  import java.io.*; class SString{ public static void main(String ar[]) throws IOException{ BufferedReader br = new Bufferedreader...)); ^ 1 error please tell me the resolution of this   Hi 

JSP Servlet Questions

Please Help - JSP-Servlet
Please Help  Respected Sir/Madam, I am R.Ragavendran.. Thanks for your response.. You told me that its difficult to handle the problem.. Ok,Let me try my hands on it.. The help i need is can u please tell me 

Java Beginners

Please Reply - Java Beginners
Please Reply  Hi, I have a form these fields r prod_id,prod_name,prod_opstock,prod_excise,prod_vat,reorder_level,reorder_qty,vend_name... should be stored vand_id in the place of vend_name Please write a code 

Java Beginners

please solve the programme
please solve the programme  Develop a java program to find the roots of a quadratic equation ax2+bx+c=0, with the following specification :- Class name :- Quad Data members float a,b,c,d, with a,b,c are the co-efficient 

Java Beginners

Please explain the logic....
Please explain the logic....  class A1 { } class B extends A1 { } public class ComingThru { static String s = "-"; public static void main(String[] args) { A1[] aa = new A1[2]; B[] ba = new B[2 

Java Beginners

Please give me coding for this..
Please give me coding for this..  Write an application that inputs one number consisting of five digits from the user.separates the number ibto its individual digits and prints the digits separated from one another by three 

Java Beginners

please tell me
please tell me  class Person{ int age; String name; void talk(){ System.out.println("my name is:"+name); System.out.println("my age is:"+age); } } class Hash{ public static void main(String ar[]){ Person raju=new Person 

Java Beginners

please explain this prog
please explain this prog  can u explain this import java.io.*; class SString{ public static void main(String ar[]) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in 

Development process Questions

Please help in drawing Flowchart
Please help in drawing Flowchart  we found that the student names with marks in a text file the marks decreases significantly. when exams conducted fast 4 times.THe first column is the student name and the second column is marks 

Java Beginners

Please help me urgent...........
Please help me urgent...........  For what kind of a problem would use a Tree Set and not a Tree Map For what kind of a problem would use a Tree Map and not a Tree Set   Hello Friend, If you want to display the list 

Java Beginners

Java Help Please
Java Help Please  I can't seem to figure out how to make this program, can some one help me please? It is due soon!! 4) Write a program that will take an input (Date object will contain fields for the month, day, and year - all 

Java Beginners

please tell me
please tell me   <tr> <td><html:hidden property="tid" value="${user.id}"/></td> <td><bean:write name="user" property="emp_name"/> 

Swing AWT

urgent please, help!
urgent please, help!  how to make jTable unclickable and have unmovable columns, thanks in advance   import javax.swing.*; import java.awt.*; public class SimpleJTableExample{ public static void main(String[] args 

Java Beginners

please tell me
please tell me  class Reserve extends Thread{ int available=1; int wanted; Reserve(int i){ wanted = i; } public static void...; ^ please tell me the resolution   class Reserve 

JSP Servlet Questions

please help - JSP-Servlet
please help   i am making a program by this i can find out the result for between years for any class. i have three combo box for class_name, from... To Year "> please help 

Advertisements Advertisements
 

 

 

DMCA.com