Help me in solving FIT problem

My issue

what’s wrong in my wrong

My code

#include <stdio.h>

int main() {
    int t;
    scanf("%d", &t);
    
    while (t--) {
        int x;
        scanf("%d", &x);
    }
    
    // Your code goes here
    int x=4;
    printf("%d",2*5*x);
    
}

Learning course: Basic Math using C
Problem Link: Fitness Practice Problem in - CodeChef

Don’t remove the given template code
Write code in while block

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int t = scanner.nextInt();
        
        while (t-- > 0) {
            int x = scanner.nextInt();
            int day = 2*x;
            int week = 5*day;
        }
    }
}