I am a student this is homework. I use SQL server to check my work but have to write script by hand.
Create and display a VIEW that
displays the account balance subtotals
for each account group. Account group
is defined as the first two digits of
the account number. Display a grand
total of the balance column at the end
...
i made a program which converts lower case to upper case a string.i know how to convert a char to upper case via preprocessor directives but i dont know how to do it for a string.
#include<stdio.h>
#include<conio.h>
#include<ctype.h>
#define UPPER([]) ([]-32)
void fstring_convert(char string[]);
void main(void)
{
char string[40];
print...
i use this code to split a data to make a list with three sublists.
to split when there is * or -. but it also reads the the \n\n *.. dont know why?
i dont want to read those? can some one tell me what im doing wrong?
this is the data
*Quote of the Day
-Education is the ability to listen to almost anything without losing your temper or ...
Without using string manipulation (checking for an occurrence of the . or , character) by casting the product of an int calculation to string.
or
without using try / catch scenarios relying on errors from data types.
How do you specifically check using c# if a number is a multiple of another?
for example 6 is a multiple of 3, but 7...
this program is a book library that works via software.the problem is that when i sort the books by price and print them,they never get sorted!
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
static int count;
struct book
{
int bookid;
char name[30];
char author[30];
float price;
};
struct book b[40];
void add(voi...
note:-
Please read the explanation of what is to be achieved and provide initial guidance, i know there must be a lot of concepts involved, i am not asking for complete step by step solution, need help in knowing what concepts need studying and a proper path to start with.
There are a lot of resources on the internet, which makes it real...
Write a program that outputs the numbers that are divisible by 8 and are between 200 and 600 (inclusive), separated by commas (without spaces or line breaks).
...
My teacher asked us to implement a Dynamic Programming solution to that problem, but I'm thinking one doesn't exist since I couldn't find it using Google.
Anyway, given a graph and a k, say 3, you have to find the 3 best MSTs from it. If the graph is such that it doesn't have k subtrees, you can return either the same tree multiple time...
hi,i am having problem on how to implement such a thing , i am currently programming a compact framework vb.net this is what i have done and am stuck,what ive learn is very basic and simple i am using a sqlce query to use it to search for any string matching entries in the database and then it will display it something like google search...
I am a student this is homework... I have one table with four columns: Accounts(numbers), balances(money), and two for descriptions. I have to get a grand total of the balances... This VIEW shows the sums of the balance column but I need to total the sums, also. Any help pointing me in the right direction will be appreciated.
CREATE V...
i made a program to find if the entered year is a leap year or not but its not working well.it says a year is leap and the preeceeding year is not leap
#include<stdio.h>
#include<conio.h>
int yearr(int year);
void main(void)
{
int year;
printf("Enter a year:");
scanf("%d",&year);
if(!yearr(year))
{
printf("It...
Had to write the following program for an on line pre java class using, while, do-while and for loops.
Looking for a little explanation. Thanks in advance!
PS While looking for reference books is this Java or Javascript? Any suggestions for a good reference book? I get the concept, mostly, the devil is certainly in the details.
publ...
i made a recursive function to find the prime factors of a number but it has a bug which makes turbo c quit. please help
#include<stdio.h>
#include<conio.h>
int prime(int num);
int primefactor(int num,int i);
void main(void)
{
int num;
printf("Enter a number whose prime factors are to be calculated:");
scanf("%d",&num);
...
I'm trying to create a program where the size of array index and its elements are from user input.
And then the program will prompt the user to search for a specific element and will display where it is.
I've already come up with a code:
using System;
namespace ConsoleApplication1
{
class Program
{
public static void Main(String [...
The text document is TTT.txt ...in it is
X
X
X
O
-
X
O
O
-
I need my program to read each and then be able to pass it to a different part of it...HELP!
...
I have been staring at this all day and I am having a difficult time with this code. I need this program to convert a string of letters, such as Call Cash, into a 7 digit telephone number. I get either one of two outcomes. Either the program does not output any numbers at all or it gets stuck in an infinite loop. Any assistance would be ...
I have a friend who has an assignment on arrays and because I lack experience in Javascript and she just needs some real quick help understanding how to implement a Javascript loop to store data in an array which converts a letter grade to a number. Can someone just guide her in a general direction?
https://docs.google.com/fileview?id=...
I want implement a recursive program in assembly for MIPS, more specifically the well known Fibonacci function.
There's the implementation in C:
int fib(int n) {
if(n<2)
return 1;
return fib(n-1)+fib(n-2);
}
...
I missed class this week, due to my son being sick and I missed this portion of the lecture for the week. This is example below is what they went over in class but im having a hard time understanding what needs to be done and the book nor the teachers examples are clearly expressed so that I can understand. I guess what I need is some gu...
When the only code in there is for a class how would you code it adding public to the default class like so
namespace HW2_2_Spaceship
{
public class Spaceship //added public to the default class
{
static void Main(string[] args)
{
}
or
namespace HW2_1_Book
{
class Book
{
static void Mai...