Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions imp.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
include <time.h>
#include <time.h>
#include<math.h>
#include<stdio.h>

//LOGIN PART
struct authentic
Expand All @@ -23,13 +24,13 @@ void login()
{
char temp[50], temp1[50];
int us = 0;
printf("En== 0)
printf("En"== 0)
{
printf("Pasword too Weak, Enter strong password\n");
goto label;
us = 1;
printf("Enter password:\n");
scanf(
// scanf(
}
if(us != 1)
{
Expand All @@ -50,7 +51,7 @@ void authenticate()
signup();
break;
case 2:
"%s", &temp1);
scanf("%s", &temp1);
if (strcmp(temp1, users[i].password) == 0)
{

Expand Down Expand Up @@ -129,7 +130,7 @@ void billing()
}
if (u[i].ward_num != NULL)
{
printf("~~~~~~~~~~~~~~~~bility of the stock
printf("~~~~~~~~~~~~~~~~bility of the stock");
if (item[temp1].avail >= temp2)
{
item[temp1].avail = item[temp1].avail - temp2;
Expand Down