thanks for the reply I fixed that problem. I have another problem how can I check that when the user enters the price it is in correct format. For example if the user enters 1.5.5.5 It should give an error.
Hi,
I am making a small program of cash register. I am having trouble doing the validation. If someone could help me It would me a great help.
My Program is:
<code>
#include <stdio.h>
#include <string.h>
char itemName ;
float itemPrice = 0;
float total = 0;
int numberOfItems = 0;
int number =...
...be able to add the item name and the item price.
my code is:
<code>
#include <stdio.h>
int itemPrice = 0;
char itemName ;
int main(int argc, char *argv[]){
int n = 0;
int number=0;
int price1=0;
char item1;
while ( number <= 6 ) {
printf("1. Add Item\n");
printf("2. Compute Total\n")...
okay..when you click on a submenu and the submenu takes you to a different page the menu is refreshed. For example if I got to a page salmon.html from within the fish menu I want the fish menu to open and show the salmon element highlighted.
Let me know if you need more info.
Thanks,
Sunny
Thanks, yeah I think it doesn't work well if i recalculate the whole thing. I wanted to do that so when I add more menu options I don't have to pass any parameters or anything to the function, so a developer except me can add and modify the menu easily.
This works, but how can I open the menu...
Thanks, okay this is how my menu works at the moment:
I have a bunck of lists with anchor tags in it, I am calling the showmenu function and passing it the class of the link and it opens the submenu inside the corresponding list. My problem is I can't pass the link inside the generic function...
Thanks for you reply. I have the pages of the menus in different directories, for example a fish directory contains pages regarding fish, we can see from the URL the different pages, I am not sure if this is really a good idea to use this?
Reckor: Your idea sound good, but I don't want to put...
Hi,
I am making a dhmtl menu and I want to keep the submenus open on their corresponding page by using one include file of the menu. For example,take this as my menu:
Fish
Salmon
Tuna
Flowers
Tulips
Lillies
I want the Fish submenu to open when I go to a page that is about fish(on my...
hello,
I am really having trouble creating this macro if some one can help me it will be very much appreciated.
I have two workbooks name of first workbook is "pro" and the name of the other workbook is "tim" what I want to do is that if the row of "pro" A2 to G2 is empty and the row of the...
also i would like to know some thing else.
SELECT A.jason, B.Lidia FROM
Log.hih7868 A
Log.hih7868 B
Log.hih7868 C
Log.hih7868 D
I need to understand the from syntax. I understand that Log is a table and hih7868 is a field in that table but what does A stand for. Thansk for helping
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.