<commit_before><commit_msg>Create Day5_Loops.java<commit_after>package com.hackerrank.contests.daysOfCode_30;

import java.util.Scanner;

public class Day5_Loops {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
		@SuppressWarnings("resource")
		Scanner scanner = new Scanner(System.in);
		int T = scanner.nextInt();
		while (T-- > 0) {
			int a = scanner.nextInt();
			int b = scanner.nextInt();
			int N = scanner.nextInt();
			int power = 0;
			while (N-- > 0) {
				a += ((int) Math.pow(2, power) * b);
				System.out.print(a + " ");
				power++;
			}
			System.out.println();
		}

	}

}

{'fraction_non_alphanumeric': 0.15789473684210525, 'fraction_numerical': 0.012759170653907496, 'mean_word_length': 3.1315789473684212, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6293583', 'n_tokens_mistral': 268, 'n_tokens_neox': 226, 'n_words': 51}