I have slightly amended your code based on the provided instructions
#include <stdio.h>
int main()
{
int ID=400;
int pass=123;
printf("Plese Enter Your ID:\n ");
scanf("%d",&ID);
switch(ID)
{
case 400:
printf("Enter your password:\n ");
scanf("%d",&pass);
switch(pass)
{
case 123...