solulubeta
Sign in
DSA Basics / Warm-up
01.11 · Problem

The Lucky Bill Number

Easy Character to digit · running total Pro

This problem is part of solulu Pro

A shop near the campus runs a lucky-draw: add up all the digits of your bill number, and if the total is exactly 21 you get a free coffee. The bill number is printed as a string of digits.

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 11 of 90 · updated 2026-10-12