English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-11-11 04:01:23 · 2 answers · asked by marcinda_dasade 1 in Computers & Internet Programming & Design

2 answers

You can't assign AM to an integer. An integer is only for numbers.

Instead you can use a boolean value, where it will be true if it is the afternoon and false otherwise, e.g.

bool afternoon = false;

2006-11-11 05:51:14 · answer #1 · answered by jacinablackbox 4 · 0 0

Use military time not am or pm

2006-11-11 04:08:50 · answer #2 · answered by The Cheminator 5 · 0 0

fedest.com, questions and answers