Addressing using DIP with UNO

Newly developing so i need some one to help me provide a example sketch for addressing in hex using DIP switch with UNO

Need to start a new project

More details require please

For instance, do you want to read 8 DIP switches, each connected to a different pin on the Uno, interpret the inputs as bits in a byte and print that byte in HEX notation, or something else ?

When is our assignment due to be handed in ?

For school ?

This is an example with the Wokwi simulation, but I don't know what you want with hex.