Write SQL embedded in JAVA programs to solve the following tasks:?

Question by PRAVEEN N: Write SQL embedded in JAVA programs to solve the following tasks:?

Write SQL embedded in JAVA programs to solve the following tasks:

I. Prompt the user for a course number and print a list containing the student names, the semester and year when they took the course and, if their grade is lower than 60, the name of their advisor.

II. Prompt the user for an instructor employee number. Print a report that indicates the course he or she taught. For each such course print the number of students enrolled, and the number of grades in each of the following ranges: 100 – 80, 79 – 60, and below 60.

refer :http://www.cs.umb.edu/cs630/ third handout

Best answer:

Answer by themadprofessor
Do you have a specific question? Don’t expect anyone here to do your homework for you…

Give your answer to this question below!
Question by afzal_009_your: how to run this embedded system c program on a PC.?
include “led.h”

/**********************************************************************
*
* Function: main
*
* Description: Blink the green LED once a second.
*
* Notes:
*
* Returns: This routine contains an infinite loop.
*
**********************************************************************/
int main(void)
{
/* Configure the green LED control pin. */
ledInit( );

while (1)
{
/* Change the state of the green LED. */
ledToggle( );

/* Pause for 500 milliseconds. */
delay_ms(500);
}

return 0;
}
i have run this program in code block but found the same error which i found in Turboo c++ that led.h file does not exist. can somebody help me that how can i write a embedded system c program on a pc or should i use another device and compiler. thx

Best answer:

Answer by tbshmkr
You cannot.
=
led.h not part of Gnu GCC or MinGW

Found led.h BUT cannot guarantee it will help OR even run
– – http://www.koders.com/c/fid87BE7C0C6AA8F638D11AB66BABE1D5333BBBD271.aspx

Give your answer to this question below!

Leave a Reply

Your email address will not be published. Required fields are marked *


*