Need help for writing extract program
hi
i need help for writing extract program to retriew data from legacy system.
i already developed bdc programs for me31k and me21.
my requirement is to write extract program s for those t.codes.
to retriew data from legacy system and stored in flat file.
i need help with a java program. it is a program that allows the user to enter a student's GPA, number of extracurricular activities, and number of service activities. The user can not enter a gpa above 4.0 or below 0. The user can not enter a negative number for the number of both activities. If the student meets the following criteria: 1) GPA of 3.8 or above and at least one extracurricular activity and one service activity, 2) GPA below 3.8 but at least 3.4 and a total of at least three extracurricular and service activities, 3) GPA below 3.4 but at least 3.0 and at least two extracurricular activities and three service activities, the message "Scholarship candidate" should display. If the student does not meet the criteria above, then the message"not a candidate" should display. Can you help me, please?
You haven't posted ANY 'java program' for us to help with.
The forum is NOT a coding service. It is to help you with YOUR code.
Post the code you have written and SHOW us (don't just tell us) how you compile it and execute it and the results you get. Then we can help you with any problems you are are having.
If you need help understanding just what the program should be doing you need to ask your instructor to clarify the assignment.
Similar Messages
-
Need Help in Writing a program using a two-dimensional Array
I need to write a program that takes 16 integers as inputs and determine whether the square is a magic square(sum of each row, column, and diagonal is the same constant) and display the result in a message Box. Please Help!!!!!
stick the 16 ints in an int[4][4] and then just write the methods. i guess thats the hard part though. the most cumbersome and longest possible way to do it is just write everything out. ie if(int[1][1] + int[2][1] + int[3][1] etc...). a better way would be to use a bunch or for loops, but you'll have to figure that out yourself.
-
Need help for encoder count program !!!!!!!!!
I am a new labview user.
And i am trying to complete a project for my course.
For a quick background on what I am working with, I am using a NI PCI-73566-Axis Stepper/Servo Motion Controller for PCI, NI UMI-7764 Series, NI USB-6009 and a IDEC SC1B Rotary Encoder.
I am try to design a encoder count program and a new program to convert the encoder signal to RPM.
But I just don't know where should I start? How can I get the same block diagram like P11 in the attach file?
Please check more detail from the attach file.
Attachments:
P11.jpg 127 KB
P8.jpg 149 KB
P15.jpg 141 KBHello,
The two objects on the block diagram are DAQ Assistants and can be found under Functions»Measurement I/O»NI-DAQmx. From what I can gather, this is acquirign signals that you should have connected to the USB-6009.
-Zach
Certified LabVIEW Developer -
Need help for data extraction from table
Hi all,
i have a requirement where i need to identify fields PERNR,BEGDA,ENDDA,REASN,fmlan in table PA0672 .If all these field are identical for an employee in more than one record, then greatest value of REMAN field out of these records should be displayed only in output.
How would i go about it?
Thanks
Snehasishselect PERNR BEGDA ENDDA REASN REMAN
into table itab
from PA0672.
* delete all but the highest reman value for each pernr
sort itab by pernr reman descending.
delete adjacent duplicates from itab comparing PERNR BEGDA ENDDA REASN. -
Need help with writing a program
how would i write a program with one integer variable i that outputs the numbers 1 to 5 on one line. The program may use the System.out.println to only ouput either the variable i or a space (" ").
which one is it in?Boy, you are a lazy one, aren't you. Anyway,
it's in the section about "Control Flow Statements":
http://java.sun.com/docs/books/tutorial/java/nutsandbo
lts/flow.html
But if you are not familiar with for-loops I suggest
that you read the whole tutorial.Unless, of course, the assignment is due in tomorrow morning at 8, and it's now past midnight in your timezone. -
Need help for writing an own pulse script
Hello,
i want to generate a simple current pulse with my keithley 2602A, but i have a problem with the pulsewidth.
I observed the length of the pulse on an oscilloscope and it's nearly constant for about four times and then, the next time it takes about 40 seconds longer.
I wrote the following script:
smua.measure.rangev = 6.000000
smua.measure.rangei = 1.000000
smua.source.rangev = 6.000000
smua.source.rangei = 1.000000
smua.sense = 1.000000
ntimes = 100000.000000
smua.source.func = smua.OUTPUT_DCAMPS
smua.source.leveli = 0.186000
smua.source.limiti = 0.200000
smua.source.limitv = 5.000000
mybuf = smua.makebuffer(2)
mybuf.clear()
mybuf.appendmode = 1
smua.measure.count = 1
smua.source.output = 1
for i = 1 , ntimes do -- Perform following command(s) ntimes
end --for
smua.measure.i(mybuf)
smua.measure.v(mybuf)
smua.source.output = 0
I figured out, that the problem is in smua.measure.X and not in the loop.
Could you please help me?Definitely the wrong forum.
The forum you arre looking for can be found here:
http://forum.keithley.com -
Need help for writing script for Cisco GSS
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
We would like to know if running script from DB server it can activate and suspend of answer group instancesDefinitely the wrong forum.
The forum you arre looking for can be found here:
http://forum.keithley.com -
Need help for user exit mereq001
Hi,
I need help for user exit mereq001. I think I messed up with include table CI_EBANDB and CI_EBANMEM. And When I tried to check the syntax . It gives me error like : <b>Class IF_PURCHASE_REQUISITION. Inconsistency in the dictionary for the structure mereq_item_s_cust_data.</b> Anyone had experience for this exit? I just need to extract costcenter information of the each item from the requisition and block the requisiton if the costcenter are differents from each other before the requisition is saved. Any one has idea about it?
Thanks.biao,
Have you checked this struture consistency from SE11. Also check the activation log.
If there are any errors and you are not able to rectify the same use RSDDCHECK program, give your table name and run the report.
This will list down the error structures releated this table and also prompts for you to activate it.
Regds
Manohar -
Need help with spell checker program
Hi
I am writing a spell checker program and need help for a simple logic.I have "List" of correctly spelled words and a String array of wrong spelled words.How can I compare both and tell that for eg xyz word is not spelled correctly.BigDaddyLoveHandles wrote:
To learn more about Map, take the collection tutorial: [http://java.sun.com/docs/books/tutorial/collections/index.html]
(Actually, to me it sounds like you have a Set of correctly spelled words and another Set of words which may or may not be correctly spelled, and you want the difference...)That is what it sounds like to me also, and that is easy.
JSG -
Need help in writing data from JSP to excel
Hi ,
I need help in writing the data from JSP to excel.I somehow able to retrieve the data into excel but unable to get the required format.
For eg: The amount should be displayed in 0.00 format .when i am exporting it to excel it is displaying as 0 :( .
I am using the following code in JSP.
"out.print(amt + '\t');"
Would like to know if there is any otherway where in i can get my requirement.
Thanks
TomHi,
Try using format part of the JSTL tag libs.
Syntax :
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<fmt:formatNumber value="40" pattern="$#,##0.00"/>
I need help in writing the data from JSP to excel.I
somehow able to retrieve the data into excelHow do u convert the jsp to excel?
One way to convert the jsp page to excel, is to render it as an excel appl instead of html. Set the content type of the response to application/ms-excel.
response.setContentType("application/ms-excel")Hope this Helps.... -
Need help for string tokenizer!
I need help in writing out the string tokenizer.. i've got all of the functions written except for the nexttokken function which i am stuck in. Can anyone help me out in writing the function?
An example of splitting string by comma
String str"A,B,C";
StringTokenizer st = new StringTokenizer(str,",");
while (st.hasMoreTokens()) {
System.out.println(st.nextToken());
This is just an example of usage; i would prefer to use split() function instead -
i need help for flash builder 4 and papervison 3d. I need to create a slider with it ranges of value from 10 to 50 to adjust the camera values for the camera.fov and also need to create it for the yaw of the object from 0 to 360. I try to look for any slider event and classes in this program but cant find any, btw, i need to use the AS only project file.
here is my codes:
can you please tell me how i should modify the codes?
package
import flash.display.BitmapData;
import flash.display.Sprite;
import flash.events.Event;
import org.papervision3d.materials.BitmapFileMaterial;
import org.papervision3d.materials.BitmapMaterial;
import org.papervision3d.objects.primitives.Sphere;
import org.papervision3d.view.BasicView;
[SWF (width="800", height="600", backgroundColor="0x000000",frameRate="30")]
public class EarthBitmap extends BasicView
private var sphere:Sphere;
public function EarthBitmap()
super(800 , 600);
var earthmaterial:BitmapFileMaterial = new BitmapFileMaterial("../assets/Earth.jpg");
sphere = new Sphere(earthmaterial,100,20,18);
camera.fov = 25;
scene.addChild(sphere);
addEventListener(Event.ENTER_FRAME,rotateSphere);
public function rotateSphere(evt:Event):void
sphere.yaw(0.2);
singleRender();Turn the click handler into a full on separate function. Then store all the views in an array and use Math.rand() to randomly choose one.
Something like this:
<fx:Script>
<![CDATA[
var questionsArray:Array = {question2,question3,question5,questionRed,questionGeography};
function buttonClickHandler(event:MouseEvent){
var randomProblem:int = Math.floor(Math.random()*(questionsArray.length)); //generates a random integer between 0 and the total number of questions in the array (arrays are 0-based)
navigator.pushView(questionsArray[randomProblem]);
]]>
</fx:Script>
<s:Button id="randomProblemButton" label="Next Problem" click="buttonClickHandler(event)" />
Haven't tested that, but something along that line should work -
Need help for the $200 promo rebate for trade-in of I Phone 4
Need help for the $200 promo rebate for trade-in of I Phone 4. Unable to preregister when I ordered the new 6 in September. Now can not contact VZW recycle program regarding.
When I ordered my phone on Sept. 13th in a Verizon store, I had to ask the salesman how I went about getting the $200 rebate. He said shipping materials would come with the new phones. When I received the confirmation e-mail of my order, it contained a link for the rebate. Fortunately I clicked on the link, filled out the form online, and received the packing materials to send my phone in shortly after. My phones came in on Oct. 14th and I sent 3 of them back. So far I have received a gift card for $200 for 2 of the phones; the other is showing not received. I don't know what your situation is, but I think the promotion ended Oct. 15th. If I had listened to the salesman I think I would be out of luck as well. I hope I am wrong for your sake.
-
Need help for interface to process employee expenses
need help for interface to process employee expenses
i have used the interface tables as
AP_INVOICES_INTERFACE
AP_INVOICE_LINES_INTERFACE
are they the right one
is there a concurrent program or any API for doing interfacehi,
i think what ever table are using for interfacing expenses correct.
but you have to enter invoice type as expense report.
Regards,
Srikanth -
I need help instantly on this program please
import java.util.*;
public class D3
private static int[] z = new int[100000];
private static int first=z[0];
private static int last=z[n-1];
private static int n=100000;
public static void main(String args[])
Scanner input=new Scanner(System.in);
for(int i=0;i<z.length;i++)
z=2*i;
int seqSearch(z;50000;n); //method call 4 key where key=mid
int binSearch(z;first;last;50000);
int seqSearch(z;35467;n); //method call 4 key where key in the left half
int binSearch(z;first;last;35467);
int seqSearch(z;89703;n); //method call 4 key where key in the right half
int binSearch(z;first;last;89703);
public int seqSearch(int z[];int key;int n)
long start = System.currentTimeMillis();
int count=0;
int ans=-1;
for(int i=0;i<n;i++)
if z[i]=key
count++
{ans=i
break;}
return ans;
long elapsed = System.currentTimeMillis() - start;
System.out.print("Execution Time:" + elapsed);
System.out.print("# of Basic Operations:" + count);
public int binSearch(int z[];int first;int last;int key)
long start = System.currentTimeMillis();
int count=0;
if(last<first){
count++;
index=-1;
else
count++;
int mid=(first+last)/2
if(ket=z[mid]{
index=mid;
else
if(key<z[mid]){
index = binSearch(z[];first;mid-1;key);
else
index=binSearch(z[];mid+1;last;key);
return index;
long elapsed = System.currentTimeMillis() - start;
System.out.print("Execution Time:" + elapsed);
System.out.print("# of Basic Operations:" + count);
// if anyone could tell me whats wrong with my code i'd be greatful...the program is supposed to perform binary and sequential search on a sorted array of 100000 numbers.once on an item in the middle of the array once on the right side of it and once on the left side...i also need to count the number of basic operations for the same number in both sequential and binary to see whats better.and i need to check the time...plz i need help now,,,"Guide to a first-time poster"
you need to add exclamation marks to signify how urgent it is
e.g.
i need help instantly on this program please!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
capital letters is better
I NEED HELP INSTANTLY ON THIS PROGRAM PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
starting the italics on line 1, better again
import java.util.*;
public class D3
private static int[] z = new int[100000];
private static int first=z[0];
private static int last=z[n-1];
private static int n=100000;
public static void main(String args[])
Scanner input=new Scanner(System.in);
for(int i=0;i<z.length;i++)
z=2*i;
int seqSearch(z;50000;n); //method call 4 key where key=mid
int binSearch(z;first;last;50000);
int seqSearch(z;35467;n); //method call 4 key where key in the left half
int binSearch(z;first;last;35467);
int seqSearch(z;89703;n); //method call 4 key where key in the right half
int binSearch(z;first;last;89703);
public int seqSearch(int z[];int key;int n)
long start = System.currentTimeMillis();
int count=0;
int ans=-1;
for(int i=0;i<n;i++)
if z=key
count++
{ans=i
break;}
return ans;
long elapsed = System.currentTimeMillis() - start;
System.out.print("Execution Time:" + elapsed);
System.out.print("# of Basic Operations:" + count);
public int binSearch(int z[];int first;int last;int key)
long start = System.currentTimeMillis();
int count=0;
if(last><first){
count++;
index=-1;
else
count++;
int mid=(first+last)/2
if(ket=z[mid]{
index=mid;
else
if(key><z[mid]){
index = binSearch(z[];first;mid-1;key);
else
index=binSearch(z[];mid+1;last;key);
return index;
long elapsed = System.currentTimeMillis() - start;
System.out.print("Execution Time:" + elapsed);
System.out.print("# of Basic Operations:" + count);
and what about the dukes, offer 10 (never to be awarded, of course)
do this, then sit back and watch the replies roll in.
Maybe you are looking for
-
Is it my computer or is there a legitimate reason for imovie to take so long to prepare a project for sharing?
-
"in update task" and "strings"
Hi guys, I tried to extend a table by a string. this table is updated via a function module (Verbuchungsbaustein = in update task). The new rows are submited via the tables option. But this leads to a dump, could it be that it is not possible to use
-
UCM 11g Setting up Database storage of content
Hi, We currently have a 7.5.2 instance running. We are upgrading to a 11g instance, we are looking at storing the documents in the database, but we are having trouble setting this up. Does anyone have the steps on how to does this? (finding oracles i
-
Hi sap gurus, I am creating recipiant list in cvi1. When i am doing start distribution in cvi7 then system is giving error distribution point us (my user id) does not support communication type PRT. I have done the following SPRO settings distributio
-
Query on programe RFLKORD10 for tcode FI.27 for account statement
for tcode : fi.27 If table bsid or bsad has dunning area with some specific value then i want to split account statement. (we copied rfkord10 into zprogram and use that one.) if anyone worked on same then please help me out. Solution with coding o